[opencms-dev] With Version 6 it not easy to know how and where to get your fram eless templates working

Michael, Nick N Nick.Michael at standardbank.co.za
Sun Feb 6 12:53:21 CET 2005


Hi there

The documentation I got for creating a template is for version 5 however I
need a frameless template for the latest version 6

The structure is much different to that of Version 5
I cant seem to find the folder where the template should be created

I have two related questions 
1) How and Where do I put my templates ?
2) where can I find an example of a working templates

I can work with both XML and JSP so I would like to look at examples of both

This is an XML template I want to use for as frameless web page

<!--  my frameless page template follows -->

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- /system/modules/org.opencms.default/templates/ -->
<XMLTEMPLATE>
<TEMPLATE name="framless_template"><![CDATA[

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<TITLE>]]><method name="getTitle"/><![CDATA[</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link REL="STYLESHEET" TYPE="text/css" HREF="style.css">
</head>
<body>
<table width="760"  border="1" cellpadding="0" cellspacing="0" >
   <tr>
      <td>
         <table width="100%" border="0">
  			<tr>
    				<td height="80"  align="center"
class="pageBanner" ><img src="banner.JPG"></td>
  			</tr>
            <tr>
               <td align="center" class="pageBanner" ><strong><font
color="#FFFFFF">]]><method name="getTitle"/><![CDATA[</font></strong></td>
            </tr>
            <tr>
               <td>	
                  <table width="100%"  height="470" border="0">
                      <tr>
                        <td width="21%" valign="top">]]>
<element name="nav_head"/> <![CDATA[</td>
                        <td width="79%" valign="top">]]>
<element name="body"/> <![CDATA[</td>
                     </tr>
                  </table>
               </td>
            </tr>
            <tr>
               <td align="center" class="pageBanner" ><strong><font
color="#FFFFFF"><!--Footer --></font></strong></td>
            </tr>
         </table>	
      </td>
   </tr>
</table>
</body>
</html>]]>
</TEMPLATE>
<ELEMENTDEF name="nav_head">
...
</XMLTEMPLATE>


your assistane with this problem will really help me

with kind regards
Nick Michael
Tel 2-9032


__________________________________________________________________________________________________________________________________

Standard Bank Disclaimer and Confidentiality Note

This e-mail, its attachments and any rights attaching hereto are, unless the context clearly indicates otherwise, the property of Standard Bank Group Limited and/or its subsidiaries ("the Group"). It is confidential, private and intended for the addressee only. 

Should you not be the addressee and receive this e-mail by mistake, kindly notify the sender, and delete this e-mail, immediately and do not disclose or use same in any manner whatsoever. 

Views and opinions expressed in this e-mail are those of the sender unless clearly stated as those of the Group. The Group accepts no liability whatsoever for any loss or damages whatsoever and howsoever incurred, or suffered, resulting, or arising, from the use of this email or its attachments.

The Group does not warrant the integrity of this e-mail nor that it is free of errors, viruses, interception or interference. 

Licensed divisions of the Standard Bank Group are authorised financial services providers in terms of the Financial Advisory and Intermediary Services Act, No 37 of 2002 (FAIS).

For information about the Standard Bank Group Limited visit our website http://www.standardbank.co.za
___________________________________________________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050206/8dc036a1/attachment.htm>


More information about the opencms-dev mailing list