[opencms-dev] integrate FCKedito to Opencms with style

marc fiévet marc at fievet.be
Thu Oct 27 21:02:58 CEST 2005


Hello Sebastian,

Thanks four the answer!
By default, in the editor, I have a drop list with "Image on left /
Image/ on right,custom bold, etc...  Ok, 

I create the new property (style.definitions) and I put your css example

(rename cssmarc.css) in the the
org.opencms.frontend.templateone/resources/
I assigned the path of my style in the main template of the templateone
module
(/system/modules/org.opencms.frontend.templateone/resources/cssmarc.css)
After this modification, when I create a new page, the editor doesn't
load. I have just the header.

What's wrong?

Thank you

Regards,

MARC



Hi Marc,

It's in the doc:

"After enabling this feature, an XML-file describing the available
styles can be assigned to a template by setting the property
|style.definitions| to the path of the XML-file."

"template" in this case, means a OpenCms JSP-Template.  You can put the
file where ever you want :) But beware of the file ending:

"Beware of file endings other than |.xml|. They might cause the editor
not to load."

I hope this helps.

Best regards
Sebastian



Fievet Marc wrote:

> Hello Sebastian,
>
>     I read your help file to integrate FCKedito to Opencms. It's
>     working fine.
>
>     About the integration of a css: In your doc, you mentionned : add
>     in  the |system/workplace/editors/configuration/ add style=true,
>     but where do you put the xml file with the style in opencms and
>     how to reference it on the editor?|||
>
>     ||
>
>     Have you a example how to do it?
>
>     ||
>
>     |Thanks,|
>
>     ||
>
>     |Regards,|
>
>     |MARC|
>
>      
>
> ______________________________________________
>
> Winterthur-Europe Insurance - VAT BE 0403.290.168 RPM/RPR BRUSSELS.
> This message may contain confidential, proprietary or legally
> privileged information and is intended only for the use of the
> addressee named above. No confidentiality or privilege is waived or
> lost by any mistransmission. If you are not the intended recipient of
> this message you are hereby notified that you must not use,
> disseminate, copy it in any form or take any action in reliance on it.
> If you have received this message in error please delete it and any
> copies of it and notify Winterthur immediately.This e-mail message and
> any attached files have been scanned for the presence of computer
> viruses. However, you are advised that you open any attachments at
> your own risk.
> The integrity and security of this message cannot be guaranteed on the
> Internet.
>
>-----------------------------------------------------------------------
-
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please
visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list