Product
Guided Tours
Download
About
Zope Lounge
Buy
Zope Apache Config.
ZMSHelper
Documentation
Download
Sample
Zope Toolbar
Articles
Sample: A Complete Zope Lounge Template
The following two code blocks show the whole template for this site.
This is who the
standard_html_header
looks like:
<head> <link rel="stylesheet" type="text/css" href="<dtml-zms type="url" obj="common['style.css']">" /> <link rel="shortcut icon" type="image/ico" href="<dtml-zms type="url" obj="_['favicon.ico']">" /> <script src="<dtml-zms type="url" obj="common['js.js']">" type="text/javascript"></script> <title><dtml-zms cmd="breadcrumbs" obj="this()" separator=" | " text_only="true" ></title> </head> <body> <div id="pnlBase"> <dtml-zms obj="common['hdr.jpg']" id="imgHeader" title="ZOPE Lounge Header Image"> <div id="pnlSearch"> <div class="colLeft" > </div> <div class="colContent"><dtml-zms cmd="breadcrumbs" obj="this()" separator=" > " visible="(this()!=content)"></div> <br class="clear" /> </div><dtml-comment>pnlSearch</dtml-comment> <div class="rowContent"> <div class="colLeft"> <h1 class="bgrOrange">Zope Lounge</h1> <dtml-zms obj="content" type="tree" id="treeNavigation" caption="titleshort" expanded="false" show_root="false" > </div><dtml-comment>colLeft</dtml-comment> <div class="colContent" > <h1 class="bgrOrangeLight"><dtml-zms prop="title"><dtml-zms prop="titlealt" visible="getLevel() > 2"></h1> <div id="pnlContent">
and this is the code for the
standard_html_footer
DTML method:
</div><dtml-comment>id=pnlContent</dtml-comment> </div><dtml-comment>colContent</dtml-comment> </div><dtml-comment>rowContent</dtml-comment> <div style="text-align:center;clear:both;" class="colLeft">powered by <a href="http://www.pxxp.de"><dtml-zms cmd="tag" obj="common['pp.gif']"></a> </div> <div style="clear:both;"></div> </div><dtml-comment>pnlBase</dtml-comment> </body>
© 2010
beyond content GmbH