[opencms-dev] layout.1.type: please help (templateone)

Panos Kavalagios Panagiotis.Kavalagios at eurodyn.com
Tue Apr 18 15:41:17 CEST 2006


Dear lk,

    Please, find my comments inline.

lk wrote:
> I'm trying to create a new module similar to the news module in the 
> templateone.
>
> The problem is when I try to use a different file to generate the list 
> of xmlcontents.
>
> News module uses  list_news_center.jsp, but I cannot understand where 
> to say to my pages to use a different jsp.
    Try the template property of the parent folder.
> I've seen that the html page that shows the list of xml content has a 
> property (layout.center) that is set to: 
> /system/shared/templateone/center/news
>
> news is an empty txt file with the property layout.1.type set to:
> news
>
> But what does it mean this "news" value?
    Resource type 30
> To which resource does it point?
    news articles
>
> At the moment I can show my custom xml content, but I need so use the 
> list_news_center.jsp file. I would use a different file
>
> Could anybody help me?
>
> Thanks
>
> LuKe
>
>
> -- 
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Vai ai Mondiali di Germania 2006 con Opodo! Prenota adesso il tuo volo 
> e risparmia subito! Clicca qui: 
> http://adv.email.it/cgi-bin/foclick.cgi?mid=4934&d=18-4
>
> _______________________________________________
> 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


-- 
Panagiotis Th. Kavalagios
Electrical & Computer Engineer
European Dynamics S.A.
Athens, Hellas
Tel: +30-210-8094500




More information about the opencms-dev mailing list