Hi Magnolia Community,

I want to add some buttons and features to the fckEditor. I use a webapp 
created with the project archetype of the 4.5.8 Community Edition. (stk 2.0.9, 
dms 1.6.6, pop 2.0.9, pur 1.4.3, form 1.4.5)

I have tried this as described in the wiki: 
http://wiki.magnolia-cms.com/display/WIKI/How+to+configure+fckEditor

I have done the following general steps: 

1) Created a new fckeditor.js based on the magnoliaStandard.js from the 
resources bootstrap folder of the fckEditor module. 

2) I have updated the configuration repository. 
2a) I had only the following 3 subfolders at modules>fckEditor: controls, 
pages, config.
2b) Added the subfolder dialogs 
2c) Added content node tabContent and content 
2d) Added node jsConfigFile pointing to my new fckeditor.js configuration file

The configuration file is still loaded from 
/.resources/fckeditor/custom/config/magnoliaStandard.js. 


During my tests I have added most of the data nodes shown in the Screenshot in 
the wiki article (see export xml file below).

Have I missed something to configure? Or is there another proper way to 
"overwrite" or "change" the configuration (magnolia resource bootstrap files in 
the module jars) in a magnolia project? 


Thanks 
Stefan




<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="dialogs" xmlns:sv="http://www.jcp.org/jcr/sv/1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <sv:property sv:name="jcr:primaryType" sv:type="Name">
    <sv:value>mgnl:content</sv:value>
  </sv:property>
  <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
    <sv:value>mix:lockable</sv:value>
  </sv:property>
  <sv:property sv:name="jcr:uuid" sv:type="String">
    <sv:value>4bfef9aa-6d58-4527-9d7a-f4779d9895b9</sv:value>
  </sv:property>
  <sv:property sv:name="jcr:createdBy" sv:type="String">
    <sv:value>admin</sv:value>
  </sv:property>
  <sv:node sv:name="MetaData">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>mgnl:metaData</sv:value>
    </sv:property>
    <sv:property sv:name="jcr:createdBy" sv:type="String">
      <sv:value>admin</sv:value>
    </sv:property>
    <sv:property sv:name="mgnl:authorid" sv:type="String">
      <sv:value>superuser</sv:value>
    </sv:property>
    <sv:property sv:name="mgnl:creationdate" sv:type="Date">
      <sv:value>2013-04-11T15:54:57.903+02:00</sv:value>
    </sv:property>
    <sv:property sv:name="mgnl:lastmodified" sv:type="Date">
      <sv:value>2013-04-11T16:23:07.940+02:00</sv:value>
    </sv:property>
  </sv:node>
  <sv:node sv:name="tabContent">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>mgnl:contentNode</sv:value>
    </sv:property>
    <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
      <sv:value>mix:lockable</sv:value>
    </sv:property>
    <sv:property sv:name="jcr:uuid" sv:type="String">
      <sv:value>e27d4ad8-b806-4c89-85cf-bb0c4fcaf560</sv:value>
    </sv:property>
    <sv:property sv:name="controlType" sv:type="String">
      <sv:value>tab</sv:value>
    </sv:property>
    <sv:property sv:name="jcr:createdBy" sv:type="String">
      <sv:value>admin</sv:value>
    </sv:property>
    <sv:property sv:name="label" sv:type="String">
      <sv:value>dialog.mainColumn.editor.tabContent.label</sv:value>
    </sv:property>
    <sv:node sv:name="MetaData">
      <sv:property sv:name="jcr:primaryType" sv:type="Name">
        <sv:value>mgnl:metaData</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:createdBy" sv:type="String">
        <sv:value>admin</sv:value>
      </sv:property>
      <sv:property sv:name="mgnl:authorid" sv:type="String">
        <sv:value>superuser</sv:value>
      </sv:property>
      <sv:property sv:name="mgnl:creationdate" sv:type="Date">
        <sv:value>2013-04-11T16:26:00.361+02:00</sv:value>
      </sv:property>
      <sv:property sv:name="mgnl:lastmodified" sv:type="Date">
        <sv:value>2013-04-11T17:26:09.805+02:00</sv:value>
      </sv:property>
    </sv:node>
    <sv:node sv:name="content">
      <sv:property sv:name="jcr:primaryType" sv:type="Name">
        <sv:value>mgnl:contentNode</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
        <sv:value>mix:lockable</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:uuid" sv:type="String">
        <sv:value>f1a47344-4c59-47ca-9eab-9e8ed2dce6d4</sv:value>
      </sv:property>
      <sv:property sv:name="alignment" sv:type="String">
        <sv:value>true</sv:value>
      </sv:property>
      <sv:property sv:name="controlType" sv:type="String">
        <sv:value>fckEdit</sv:value>
      </sv:property>
      <sv:property sv:name="css" sv:type="String">
        
<sv:value>/.resources/fckeditor/custom/css/magnoliaStandard.css</sv:value>
      </sv:property>
      <sv:property sv:name="description" sv:type="String">
        <sv:value>EMD Konfiguration</sv:value>
      </sv:property>
      <sv:property sv:name="height" sv:type="String">
        <sv:value>500px</sv:value>
      </sv:property>
      <sv:property sv:name="images" sv:type="String">
        <sv:value>true</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:createdBy" sv:type="String">
        <sv:value>admin</sv:value>
      </sv:property>
      <sv:property sv:name="jsConfigFile" sv:type="String">
        <sv:value>/giz-emd/js/fckeditor.js</sv:value>
      </sv:property>
      <sv:property sv:name="jsInitFile" sv:type="String">
        
<sv:value>/.resources/fckeditor/custom/init/magnoliaStandard.js</sv:value>
      </sv:property>
      <sv:property sv:name="label" sv:type="String">
        <sv:value>dialog.mainColumn.editor.tabContent.content.label</sv:value>
      </sv:property>
      <sv:property sv:name="styles" sv:type="String">
        
<sv:value>/.resources/fckeditor/custom/styles/magnoliaStandard.xml</sv:value>
      </sv:property>
      <sv:property sv:name="tables" sv:type="String">
        <sv:value>Label</sv:value>
      </sv:property>
      <sv:property sv:name="type" sv:type="String">
        <sv:value>String</sv:value>
      </sv:property>
      <sv:node sv:name="MetaData">
        <sv:property sv:name="jcr:primaryType" sv:type="Name">
          <sv:value>mgnl:metaData</sv:value>
        </sv:property>
        <sv:property sv:name="jcr:createdBy" sv:type="String">
          <sv:value>admin</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:authorid" sv:type="String">
          <sv:value>superuser</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:creationdate" sv:type="Date">
          <sv:value>2013-04-11T16:27:01.177+02:00</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:lastmodified" sv:type="Date">
          <sv:value>2013-04-11T17:27:18.140+02:00</sv:value>
        </sv:property>
      </sv:node>
    </sv:node>
  </sv:node>
</sv:node>

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=247e8f93-296f-41e2-a061-ffe8a8c88930


----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------

Reply via email to