Application of a meta-attribute of type 'image'; the attribute is dedicated to the folder objects so that the presentation template 'bequeaths' the logo object to the folders recursively.
Charakteristic logo images for primary foldersFor each primary folder ("channel") a characteristic logo image shall be displayed in the page header. Solution: Introduction of an attribute 'logo' of type 'image' enables to maintain logo images directly in the editorial interface
Application of a meta-attribute of type 'image'; the attribute is dedicated to the folder objects so that the presentation template 'bequeaths' the logo object to the folders recursively. Detail of the inroduction of a template standard_html_header:
...
<dtml-let docElmnt="getDocumentElement()">
<dtml-call "REQUEST.set('reqLogo',
docElmnt.getObjProperty('attr_logo',REQUEST))">
<dtml-let channelElmnt="getParentByLevel(1)">
<dtml-if "channelElmnt.getObjProperty('attr_logo',REQUEST)">
<dtml-call "REQUEST.set('reqLogo',
channelElmnt.getObjProperty('attr_logo',REQUEST))">
</dtml-if>
</dtml-let>
</dtml-let>
...
Detail of a template bodyContent_Logo:
...
<a href="<dtml-var "getParentByLevel(1).getHref2IndexHtml(REQUEST)">"
><img src="<dtml-var "reqLogo.getHref(REQUEST)">" border="0" alt=""
width="<dtml-var "reqLogo.getWidth()">"
height="<dtml-var "reqLogo.getHeight()">"
></a>
...Comment: The logo is written in the |
Home |
Sitemap |
Printversion |
Top |
Imprint |
pressinfo
© 2001-2008 Hoffmann+Liebenberg GmbH, SNTL Publishing GmbH & Co KG
|
ZMS is a partner project of medvalue.net