Ok, from reading some of the link you sent I can see that I need to put the 
config.js file in a resource module folder.

[quote]The magnolia.resources.dir property defines a directory from which 
resources are loaded in a Magnolia instance. This resources folder is intended 
for folder-based modules. The property is configured in 
WEB-INF/config/default/magnolia.properties and has the default value 
$magnolia.home. [/quote]

That variable is set as [i]magnolia.home = 
${magnolia.app.rootdir}/../../../.runtime[/i] in the default and 
[i]magnolia.home = ${magnolia.app.rootdir}/.runtime[/i] everywhere else.

So I've created a folder [i]ckeditor[/i] inside [i].runtime[/i] and then 
created config.js 

[code]CKEDITOR.editorConfig = function( config ) {
    config.uiColor = '#00FF00';
    config.toolbar = "Magnolia";
    config.toolbar_Magnolia = [
        { name: "basicstyles",   items: [ "Bold", "Italic", "Underline", 
"SpecialChar" ] },
        { name: "paragraph",     items: [ "NumberedList", "BulletedList" ] },
        { name: "links",         items: [ "Link", "InternalLink", "DamLink", 
"Unlink" ] },
        { name: "clipboard",     items: [ "Cut", "Copy", "Paste", "PasteText", 
"PasteFromWord" ] },
        { name: "undo",          items: [ "Undo", "Redo" ] },
        { name: "tools",         items: [ "Source" ] }
    ];
};[/code]


I've cleaned, installed and run jetty, but still no source button :(

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=c7c64314-5a37-408d-b1fb-478ff6efda62


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to