Allegato | Dimensione |
---|---|
![]() | 47.67 KB |
Ho attivato agendo sul file fckeditor.config.js le righe inerenti i plugin linktonode e linktomenu.
Aprendo l'editor da drupal, i bottoni compaiono nella barra di fckeditor, ma se clicco..probabilmente nel momento in cui cerca i nodi va in errore....allego una immagine di quello che mi compare.
A voi funziona?Qualcuno e' cosi' gentile di provare ad attivarli ?
Io ho provato su due provider diversi ma sempre lo stesso errore mi da.
Proprio nessuno che ha tempo e pazienza di provare questo plugin di FCKEDITOR?
E' necessario installare un altro modulo a supporto per far funzionare i "linkto". Se vai nel readme troverai quello che ti serve...
Grazie.
Posto la parte riguardante del codice per chi magari ne fosse interessato.
Modules: Link to content (EXPERIMENTAL)
---------------------------------------
Link to content module can be integrated with FCKeditor.
ATTENTION: this module is not yet compatible with FCKeditor :(
The unofficial version of Link to content module compatible with FCKeditor can be downloaded here:
http://drupal.fckeditor.net/download/linktocontent-fckeditor-6.x-2.x-dev... the instruction from INSTALL.txt attached to the linktocontent module.
Then do the following steps to add Linktocontent button to the FCKeditor toolbar:
By default, FCKeditor module comes with two plugins that allows you to use linktocontent and linktonode features.
You can enable any (or even both) of them.
1. Open /drupal/modules/fckeditor/fckeditor.config.js and uncomment these three lines:
FCKConfig.PluginsPath = '../../plugins/' ;
FCKConfig.Plugins.Add( 'linktonode', 'en,pl' ) ;
FCKConfig.Plugins.Add( 'linktomenu', 'en,pl' ) ;
2. The second step is to add buttons to the toolbar (in the same file).
The button names are: LinkToNode, LinkToMenu.
For example if you have a toolbar with an array of buttons defined as follows:
['Link','Unlink','Anchor']
simply add those two buttons at the end of array (or somewhere in the middle):
['Link','Unlink','LinkToNode','LinkToMenu','Anchor']
(remember about single quotes).