[opencms-dev] nm- Help needed - Module for template -Someone Please help me

Michael Moossen m.moossen at alkacon.com
Thu Aug 4 09:39:28 CEST 2005


Hi, Nick!

> 1) where do I put these files ?
anywhere you want... recommended is under /system/modules/${modulename}/
may be using sub dirs like /templates/, /resources/, etc.

> 2) How do I get them added to the module?
set the module resources:
Administration View -> Modules -> Edit Module -> Edit Resources

> 3) Is there a way to create a new Module that automatically picks up the 3
> files or that give me the option to select them ?
see answer to question 2.

-- 
Regards
Michael Moossen
Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com



Quoting "Michael, Nick N" <Nick.Michael at standardbank.co.za>:

> Hi there
> 
> I created a new module to hold a template
> 
> Module  name:  basicTemplate1
> Package name:  com.nickm.co.za.basicTemplate1 
> 
> I exported it and got this file : 
> com.nickm.co.za.basicTemplate1_0.1.zip
> 
> All I found in the Zip file was an XML file :  manifest.xml
> 
> I do not know how to go about adding my template to this Module.
> As I was given an option to put files into the Module
> 
> I have 3 files :
> basicTemplate1.jsp  which is my new template
> navigation.jsp      which is <%@ include file = 'navigation.jsp' %> in the
> above jsp
> style.css           which is a style sheet for my template to use
> 
> 1) where do I put these files ?
> 2) How do I get them added to the module?
> 
> I must admit the documentation is not very clear on doing this
> 
> 3) Is there a way to create a new Module that automatically picks up the 3
> files or that give me the option to select them ?
> 
> 
> Your help will really be appreciated by me
> 
> With kind regards
> Nick
> 
>
__________________________________________________________________________________________________________________________________
> 
> 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
>
___________________________________________________________________________________________________________________________________
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the opencms-dev mailing list