Page 1 of 1

Templates FCK

Posted: Thu Mar 16, 2006 9:47 pm
by mustis
Where are the templates to use in the FCK editor stored? Need to create some few more...

Re: Templates FCK

Posted: Fri Mar 17, 2006 4:32 am
by estring
If you are referring to the templates that are invoked from FCKeditor, they are stored within an fcktemplates.xml file located in \modules\FCKeditorX\FCKeditor\fcktemplates.xml.

Each node of the XML document defines a template:

Code: Select all

<Template title="YOUR TEMPLATE DESCRIPTION GOES HERE!!!" image="YOUR TEMPLATE IMAGE">
    <Description>
        YOUR TEMPLATE DESCRIPTION GOES HERE!!!
    </Description>
    <__html>
        <![CDATA[
             YOUR HTML TEMPLATE CODE GOES HERE!!!
        ]]>
    </__html>
</Template>
Hope this helps.

Re: Templates FCK

Posted: Fri Mar 17, 2006 9:54 am
by mustis
Thanks...