[opencms-dev] Fckeditor own styles "Heading"

Christian Steinert christian_steinert at web.de
Wed Jul 26 03:41:01 CEST 2006


Christian Steinert schrieb:
> ANDRES SAYAGO schrieb:
>>  Hi.
>>
>> I need to know how can I define own styles in the FCKeditor.
>>
>> I have in the "Format" list: "Normal", "Normal (DIV)", "Formatted",
>> "Address", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading
>> 5", "Heading 6".
>>
>> I want to have another styles defined. How can I do it?
>>
>> Thanks!!
>>
>> Andrés
>>
>>

Sorry, my post was a bit confusing, I think

1) you have to set the
	template
file property of your JSP template stylesheet to contain the full path
of your CSS file
(this will be used to load your stylesheet while you edit)


2) In the directory where your CSS-stylesheet is, you need to create a
special file with the same name as your CSS-File plus the suffix _style.xml

So if your stylesheet is
	style.css
then you add
	style.css_style.xml
in the same directory where your CSS is.



There is a html file which describes this in the directory of the
fck-editor module in the virtual opencms filesystem. The module also
contains a sample xml file.


Hope it's a bit clearer this time,
Regards
Christian

> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060726/a914a4fd/attachment.bin>


More information about the opencms-dev mailing list