AW: [opencms-dev] WYSIWYG editor: styles outfit

Manfred Pruntsch manfred.pruntsch at ifcos.com
Mon Mar 4 15:40:05 CET 2002


Hi Marianne,

> the style
> was ultimately displayed in the wysiwyg editor!
directly in the html-editor (e.g. index.html --> edit page) or in in
preview mode (e.g. index.html --> edit page --> preview icon)?

What for a stylesheet link do you use (a relative path or an absolute path)?

regards
Manfred



> -----Ursprüngliche Nachricht-----
> Von: owner-opencms-dev at www.opencms.com
> [mailto:owner-opencms-dev at www.opencms.com]Im Auftrag von Prestel,
> Marianne
> Gesendet: Montag, 4. März 2002 10:07
> An: 'opencms-dev at www.opencms.com'
> Betreff: AW: [opencms-dev] WYSIWYG editor: styles outfit
>
>
> Hi Manfred,
>
> I had the same problem, also after the update to version 4.4.6.
> In earlier versions, I worked only with mastertemplates and elements (in
> folder "internal"). After the reorganisation resp. the new projectorganism
> (mastertemplates, frametemplates, contenttemplates and elements),
> the style
> was ultimately displayed in the wysiwyg editor!
>
> Regards Marianne
>
> -----Ursprüngliche Nachricht-----
> Von: Manfred Pruntsch [mailto:manfred.pruntsch at ifcos.com]
> Gesendet: Montag, 4. März 2002 00:49
> An: Framefab Deutschland AG
> Betreff: [opencms-dev] WYSIWYG editor: styles outfit
>
>
> Hi all,
>
> when I'm opening a page for editing then the styles aren't displayed. But
> the stylesheet itself is working properly in IE and WYSIWYG preview (the
> zoom tool on right side).
> In text mode the body between <![CDATA ... ]] is shown. It has to
> be got an
> environment (for example body, html tags a.s.o.) for running. Why not the
> style tag (link rel=...)?
> The doc says: "... WYSIWYG-behaviour can be realized even when using
> stylesheets." (chapter 8).
> My code:
> <?xml version="1.0"?>
> <XMLTEMPLATE>
>
> <stylesheet>content/scripts/abcstyles.css</stylesheet>
> <TEMPLATE><![CDATA[
>   <HTML>
>     <HEAD>
>       <TITLE>]]><method name="getTitle"/><![CDATA[</TITLE>
>       <meta name="description" content="]]><method
> name="getDescription"/><![CDATA[">
>       <meta name="keywords" content="]]><method
> name="getKeywords"/><![CDATA[">
>       <link rel=stylesheet type="text/css" href="]]><method
> name="getServletPath"/><![CDATA[content/scripts/abcstyle.css">
>     </HEAD>
> ...
>
> It looks good, isn't it?
> Does the documentation mean the preview with WYSIWYG-behaviour?
>
> Manfred




More information about the opencms-dev mailing list