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

Michael Dernen Michael.Dernen at framfab.de
Mon Mar 4 09:41:57 CET 2002


Hi Manfred,

the only problem I see is that you use a relative path in the
stylesheet link. You should always use an absolute path inside this tag.

regards,
Michael

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