<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: [opencms-dev] nm- Help needed - Module for template -Someone Please help me</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Thanks very much Mike</FONT>
</P>
<P><FONT SIZE=2>With kind regards</FONT>
<BR><FONT SIZE=2>Nick Michael</FONT>
<BR><FONT SIZE=2>tel 2-9032</FONT>
<BR><FONT SIZE=2>cell 082-508-1950</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: opencms-dev-bounces@opencms.org</FONT>
<BR><FONT SIZE=2>[<A HREF="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>]On Behalf Of Michael Moossen</FONT>
<BR><FONT SIZE=2>Sent: Thursday, August 04, 2005 09:39</FONT>
<BR><FONT SIZE=2>To: The OpenCms mailing list</FONT>
<BR><FONT SIZE=2>Subject: Re: [opencms-dev] nm- Help needed - Module for template</FONT>
<BR><FONT SIZE=2>-Someone Please help me</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi, Nick!</FONT>
</P>
<P><FONT SIZE=2>> 1) where do I put these files ?</FONT>
<BR><FONT SIZE=2>anywhere you want... recommended is under /system/modules/${modulename}/</FONT>
<BR><FONT SIZE=2>may be using sub dirs like /templates/, /resources/, etc.</FONT>
</P>
<P><FONT SIZE=2>> 2) How do I get them added to the module?</FONT>
<BR><FONT SIZE=2>set the module resources:</FONT>
<BR><FONT SIZE=2>Administration View -> Modules -> Edit Module -> Edit Resources</FONT>
</P>
<P><FONT SIZE=2>> 3) Is there a way to create a new Module that automatically picks up the 3</FONT>
<BR><FONT SIZE=2>> files or that give me the option to select them ?</FONT>
<BR><FONT SIZE=2>see answer to question 2.</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Regards</FONT>
<BR><FONT SIZE=2>Michael Moossen</FONT>
<BR><FONT SIZE=2>Alkacon Software GmbH - The OpenCms Experts</FONT>
</P>
<P><FONT SIZE=2><A HREF="http://www.alkacon.com" TARGET="_blank">http://www.alkacon.com</A></FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>Quoting "Michael, Nick N" <Nick.Michael@standardbank.co.za>:</FONT>
</P>
<P><FONT SIZE=2>> Hi there</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I created a new module to hold a template</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Module name: basicTemplate1</FONT>
<BR><FONT SIZE=2>> Package name: com.nickm.co.za.basicTemplate1 </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I exported it and got this file : </FONT>
<BR><FONT SIZE=2>> com.nickm.co.za.basicTemplate1_0.1.zip</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> All I found in the Zip file was an XML file : manifest.xml</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I do not know how to go about adding my template to this Module.</FONT>
<BR><FONT SIZE=2>> As I was given an option to put files into the Module</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I have 3 files :</FONT>
<BR><FONT SIZE=2>> basicTemplate1.jsp which is my new template</FONT>
<BR><FONT SIZE=2>> navigation.jsp which is <%@ include file = 'navigation.jsp' %> in the</FONT>
<BR><FONT SIZE=2>> above jsp</FONT>
<BR><FONT SIZE=2>> style.css which is a style sheet for my template to use</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> 1) where do I put these files ?</FONT>
<BR><FONT SIZE=2>> 2) How do I get them added to the module?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I must admit the documentation is not very clear on doing this</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> 3) Is there a way to create a new Module that automatically picks up the 3</FONT>
<BR><FONT SIZE=2>> files or that give me the option to select them ?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Your help will really be appreciated by me</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> With kind regards</FONT>
<BR><FONT SIZE=2>> Nick</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>__________________________________________________________________________________________________________________________________</FONT></P>
<P><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Standard Bank Disclaimer and Confidentiality Note</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> This e-mail, its attachments and any rights attaching hereto are, unless the</FONT>
<BR><FONT SIZE=2>> context clearly indicates otherwise, the property of Standard Bank Group</FONT>
<BR><FONT SIZE=2>> Limited</FONT>
<BR><FONT SIZE=2>> and/or its subsidiaries ("the Group"). It is confidential, private and</FONT>
<BR><FONT SIZE=2>> intended for the addressee only. Should you not be the addressee and receive</FONT>
<BR><FONT SIZE=2>> this e-mail by</FONT>
<BR><FONT SIZE=2>> mistake, kindly notify the sender, and delete this e-mail, immediately and do</FONT>
<BR><FONT SIZE=2>> not disclose or use same in any manner whatsoever. Views and opinions</FONT>
<BR><FONT SIZE=2>> expressed in this e-mail are those of the sender unless clearly stated as</FONT>
<BR><FONT SIZE=2>> those of the Group. The Group accepts no liability whatsoever for any loss</FONT>
<BR><FONT SIZE=2>> or</FONT>
<BR><FONT SIZE=2>> damages whatsoever and howsoever incurred, or suffered, resulting, or</FONT>
<BR><FONT SIZE=2>> arising, from the use of this email or its attachments. The Group does not</FONT>
<BR><FONT SIZE=2>> warrant the integrity</FONT>
<BR><FONT SIZE=2>> of this e-mail nor that it is free of errors, viruses, interception or</FONT>
<BR><FONT SIZE=2>> interference. Licensed divisions of the Standard Bank Group are authorised</FONT>
<BR><FONT SIZE=2>> financial services providers</FONT>
<BR><FONT SIZE=2>> in terms of the Financial Advisory and Intermediary Services Act, No 37 of</FONT>
<BR><FONT SIZE=2>> 2002 (FAIS).</FONT>
<BR><FONT SIZE=2>> For information about the Standard Bank Group Limited visit our website</FONT>
<BR><FONT SIZE=2>> <A HREF="http://www.standardbank.co.za" TARGET="_blank">http://www.standardbank.co.za</A></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>___________________________________________________________________________________________________________________________________</FONT></P>
<P><FONT SIZE=2>> </FONT>
</P>
<BR>
<P><FONT SIZE=2>----------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This message was sent using IMP, the Internet Messaging Program.</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>To change your list options, or to unsubscribe from the list, please visit</FONT>
<BR><FONT SIZE=2><A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
</P>
<DIV>__________________________________________________________________________________________________________________________________</DIV>
<DIV><SPAN class=236492506-24112004><FONT size=2><SPAN lang=EN-ZA
style="FONT-SIZE: 9pt; LAYOUT-GRID-MODE: line; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-ZA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><STRONG><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Standard
Bank Disclaimer and Confidentiality Note<O:P></O:P></SPAN></STRONG>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt"><O:P></O:P></SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">This
e-mail, its attachments and any rights attaching hereto are, unless the context
clearly indicates otherwise, the property of Standard Bank Group Limited
</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">and/or
its subsidiaries ("the Group"). It is confidential, private and intended for the
addressee only.</SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"></SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Should
you not be the addressee and receive this e-mail by </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">mistake,
kindly notify the sender, and delete this e-mail, immediately and do not
disclose or use same in any manner whatsoever. </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Views and
opinions expressed </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">in this
e-mail are those of the sender unless clearly stated as those of the Group. The
Group </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">accepts
no liability whatsoever for any loss or damages </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">whatsoever
and howsoever incurred, or suffered, resulting, or arising, from the use of this
email or its attachments.</SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'"></SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">The
Group does not warrant the integrity of this </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">e-mail
nor that it is free of errors, viruses, interception or interference.
</SPAN><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-GB">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).</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><O:P></O:P></SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><O:P></O:P></SPAN></P>
<P class=MsoBodyText style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">For
information about the Standard Bank Group Limited visit our website <A
href="http://www.standardbank.co.za"><FONT
color=#0000ff>http://www.standardbank.co.za</FONT></A></SPAN></P></SPAN></FONT></SPAN><FONT
color=#0000ff><FONT
color=#000000>__________________________________________________________________________________________________________________________________<BR></FONT></DIV></FONT>
</BODY>
</HTML>