Hi Nathan, there is a configureparameter: config->dialogs->'yourdialog'->'yourTab' ->'yourcontentNode'
for the editType fckeditor there is a property called: jsInitFile there you can point to a static resources, e.g.: /docroot/fckconfigfolder/myfckinitfile.js in this file you can enter your wished editbuttons (see the fckeditor page for options). Don't forget to do this for all of your Dialognodes using fckeditor as controlTyp in order to get the wished result. (that means you can configure your editor for every dialog according to your needs, i guess a headline doesn't need a fileupload or something like that) Hth Robin --- Nathan Russell <[email protected]> schrieb: > Hi, > I'm new to Magnolia (3.0.2), so please bear with me > :-) > > I'm trying to configure the fckEditor to have extra > features on the > toolbar. I've found a couple of postings in this > list that describe > editing the file > \mgnl-resources\fckeditor\custom\config\magnoliaStandard.js > within the > file magnolia-editor-fckeditor-3.0.2.jar > > I've done this, and its working; but it seems like a > nasty hack ! > For example, I wanted to enable the paragraph > justification buttons so I > commented out the if block like this: > > //if (MgnlFCKConfig.alignment) { > toolbar[0].push('-'); > toolbar[0].push('JustifyLeft'); > toolbar[0].push('JustifyCenter'); > toolbar[0].push('JustifyRight'); > toolbar[0].push('JustifyFull'); > //} > > Whilst this works, it seems wrong ! Surely it would > be better to set the > MgnlFCKConfig.alignment variable to true; and not > have to edit the > magnoliaStandard.js file at all? > I can see where the MgnlFCKConfig object and its > properties are being > set at runtime by viewing the source of the > fckEditor page. But I cant > find the file itself in order to edit the > MgnlFCKConfig properties > > Has anyone managed to find our where these are being > set ? > > Thanks in advance > > Nathan > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > __________________________________ Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
