[opencms-dev] stylesheet + meta information
Prestel, Marianne
prestel at itiv.uni-karlsruhe.de
Fri Feb 1 10:33:15 CET 2002
Hi list,
unfortunately, I haven't received any reply from the mailinglist concerning
the problem with the stylesheet integration. Thus I can't judge if this is a
bug or if I did something wrong.
The release notes to the 4.4.6 says that the WYSIWYG editor now displays the
page using the CSS of the selected template.
My mastertemplate looks like below mentioned (according to the manual).
This template produces a working link to the stylesheet if the page is
displayed in the browser. But not in the WYSIWYG editor (the "href" remains
empty in the editor's source code).
Another problem is the reference to the meta informations "keywords" and
"description". Is it the wrong way to solve this with the method
"getPropertyCurrent"? The result is also an empty "href" (<meta
name="keywords" content="">)!
Any hints?
Thanks in advance & regards
Marianne
----------------------------------------------------------------------
MASTERTEMPLATE:
<?xml version="1.0"?>
<XMLTEMPLATE>
<stylesheet>/content/scripts/styles.css</stylesheet>
<TEMPLATE>
<![CDATA[
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<meta name="description" content="]]><ELEMENT
name="description"/><![CDATA[">
<meta name="keywords" content="]]><ELEMENT name="keywords"/><![CDATA[">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>]]><method name="getTitle"/><![CDATA[</TITLE>
<link rel="stylesheet" type="text/css" href="]]><method
name="getServletPath"/><![CDATA[/content/scripts/styles.css">
</HEAD>
<BODY>
...
</BODY>
</HTML>]]>
</TEMPLATE>
<ELEMENTDEF name="description">
<CLASS>com.opencms.defaults.CmsXmlNav</CLASS>
<TEMPLATE>/content/internal/description</TEMPLATE>
</ELEMENTDEF>
...
</XMLTEMPLATE>
-------------------------------------------------------------------------
.....................................
Marianne Prestel
Dipl.-Ing.(FH)
ITIV - Universitaet Karlsruhe
Engesserstrasse 5
D-76131 Karlsruhe
Fon: +49 721 608 2505
Fax: +49 721 607 438
mailto:prestel at itiv.uni-karlsruhe.de
http://www-itiv.etec.uni-karlsruhe.de
More information about the opencms-dev
mailing list