[opencms-dev] Alkacon FCKeditor module >configuring Styles (css)
Andreas Zahner
A.Zahner at alkacon.com
Fri Jan 20 15:37:06 CET 2006
Gunther,
to make this a bit clearer:
1) Generation of "styles.css_style.xml": you have to create an XML entry for
every style which should be available in the FCKeditor, it is up to you to
decide if all styles of the style sheet have to be listed in the editor
dropdown.
2) Assuming your template is in your module subfolder "templates/": set the
"template" property value of this template file to the style sheet path,
e.g. "/system/modules/com.foo.bar/resources/styles.css". This has to be done
to make the WYSIWYG editor to use the CSS style sheet when rendering the
WYSIWYG view... and in case of the FCKeditor, to look up the customized
style XML file following the naming scheme described in my comment.
Hth!
Regards,
Andreas Zahner
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of DI Gunther Schmidl
Sent: Friday, January 20, 2006 3:19 PM
To: 'The OpenCms mailing list'
Subject: AW: [opencms-dev] Alkacon FCKeditor module >configuring Styles
(css)
Hey all,
I'm finally getting around to testing FCKeditor integration, and now I have
a few questions about styles integration. Quoting Andreas Zahner:
>A plain text file containing the style definition XML code has to be placed
>in the same folder where the JSP template CSS style sheet is located in the
>OpenCms virtual file system (VFS).
Does that mean if I have a styles.css in
/system/modules/com.foo.bar/resources/styles.css, I put another file
"styles.css_style.xml" in there which duplicates the entire contents in XML
format?
>Remember to set the "template" property value of the OpenCms JSP template
>file to the absolute VFS path of the style sheet. This ensures that the
>WYSIWYG editor correctly displays the styles defined for the template.
I'm afraid I don't understand this. Set the "template" property of *what* to
/system/modules/com.foo.bar/resources/styles.css? Of any .jsp template that
I want to use for displaying my pages?
Thanks for the help,
-- Gunther
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list