[opencms-dev] About module creation

Georgi Naplatanov gosho at oles.biz
Wed Apr 9 15:17:55 CEST 2008


Hello, Territorio Jordan-V.

The elements folder in the module, usually contains jsps which are used
in the template(s) to render menus, news, jobs etc.

The module's folders (under /system/modules) is not visible for user who
should edit content of the site only and you should not create pages in
modules folder.

I saw jsps in pages folder for some opencms modules which makes some
work with posted data. The mail form from template one is one of these
examples.

HTH

Best regards
Georgi

Territorio Jordan-V. wrote:
> Hi all !!
> 
> As ever, i'm a newbie and i try to learn the better way to create a real
> OpenCMS Module. So my question is, what directory for what pages...
> 
> I know that (but not sure)
> resources : to put images or css style, so the graphical ressources
> templates : the jsp templates to organize datas on the screen
> classes : for properties and Java classes uses
> lib : for specials librairies used
> 
> But for those i don't know  :
> elements/
> pages/
> 
> I've seen that some pages in the demo uses elements to organize a type of
> content so i think you have to create jsp to organize just one type of data
> (but I don't know how to proceed)
> So for pages i've no idea...
> 
> does someone know more about it, because on wiki i didn't found any explicit
> description?
> 
> Cheers,
> Jordan
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list