[opencms-dev] nm- Help needed - Module for template -Someone Please help me
Claus Priisholm
cpr at codedroids.com
Thu Aug 11 16:16:53 CEST 2005
There is no longer a 1-1 correspondence between a module and a folder in
the /system/modules. Using the new administration you have to create
those folders yourself. You need to tell the module about it's resources
and possibly export points as well.
I think you can still use the Legacy administration to create a new
module and it will add the usual folder structure and set the parameters
accordingly.
I think a nice feature in the next generation module admin would be to
have a couple of typical module-usages as example - if all one need is
to create a module in order to put site-specific templates and the like,
the old module admin functionality was much easier to use since it would
create the folders and set the relevant module parameters and one would
be ready to create a template.
Xavier Ottolini wrote:
> Hi all,
>
> When I used to create a module with OpenCms 5, a folder tree was been
> creating with the following structure :
> /system/modules/module.name
> /system/modules/module.name/administration
> /system/modules/module.name/classes
> /system/modules/module.name/default_bodies
> /system/modules/module.name/locales
> /system/modules/module.name/pics
> /system/modules/module.name/templates
>
> This feature is not any more implemented in the current version 6.0. Is
> it scheduled in the next versions ?
>
> Regards,
>
> Xavier Ottolini
> Développeur multimédia
>
> Adelis
> 37, rue d'Engwiller
> 67350 La Walck
> France
> Téléphone : +33 (0) 3 88 72 29 10
> Télécopie : +33 (0) 3 88 72 29 19
> http://www.adelis.com
>
> Michael, Nick N a écrit :
>
>> Thanks very much Mike
>>
>> With kind regards
>> Nick Michael
>> tel 2-9032
>> cell 082-508-1950
>>
>>
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org]On Behalf Of Michael Moossen
>> Sent: Thursday, August 04, 2005 09:39
>> To: The OpenCms mailing list
>> Subject: Re: [opencms-dev] nm- Help needed - Module for template
>> -Someone Please help me
>>
>>
>> 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.
>>
>>
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
>> visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>> __________________________________________________________________________________________________________________________________
>> *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 mail is send to you from the opencms-dev mailing list
>>To change your list options, or to unsubscribe from the list, please visit
>>http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>
> ------------------------------------------------------------------------
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
--
Claus Priisholm, CodeDroids ApS
cpr (you know what) codedroids.com - http://www.codedroids.com
Javadocs and other OpenCms stuff:
http://www.codedroids.com/community/opencms
More information about the opencms-dev
mailing list