[opencms-dev] Alpha2 WYSIWIG customization
Hans van der Linden
hans at iblinden.nl
Thu Dec 16 13:55:21 CET 2004
Hi Roland,
You should use the "template" property of your jsp template file. I know this is confusing but just fill in the path to your css
here and the editor will read the styles.
Hans
-----Oorspronkelijk bericht-----
Van: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Namens Roland Wolf
Verzonden: woensdag 15 december 2004 19:58
Aan: opencms-dev at opencms.org
Onderwerp: [opencms-dev] Alpha2 WYSIWIG customization
Hello list,
The demo module of 6 Alpha 2 "org.opencms.frontend.tempateone" does not pass a
stylesheet to the WYSIWIG editor. From reading the previous posts my guess is
that this can be achieved by putting a file called "master template" in the
template folder. My attempts were not successful however.
Has anybody managed to customize the WYSIWIG editor in "templateone" ?
Does the file name of the master template matter?
How should I adapt the following template to get this working?
-------------------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmltemplate>
<stylesheet>/system/modules/org.opencms.frontend.templateone/resources/style.css</stylesheet>
<template>
<element name="jsptemplate"/>
</template>
<elementdef name="jsptemplate">
<class>org.opencms.CmsJspTemplate</class>
<template>../jsptemplates/howto.jsp</template>
</elementdef>
</xmltemplate>
Thanks in advance
Roland Wolf
_______________________________________________
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