[opencms-dev] Creating templates with place holders

Chitra Prasad chitraprasad at lycos.com
Wed Mar 16 05:01:15 CET 2005


Hi

Does this mean that the content editors get to see the placeholders and all they are allowed to do is change the content only and not the html that is used in the layout?

Thanks,
Chitra.




----- Original Message -----
From: "Frans Postma" <fpostma at xs4all.nl>
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Subject: RE: [opencms-dev] Creating templates with place holders
Date: Tue, 15 Mar 2005 20:29:52 +0100

> 
> Sure, just define multiple elements in the 'elements' property of 
> the template. Then you can include those elements for use in the
> template using: cms.include("","body1","") or 
> cms.include("","another_element","") and such (I believe that is 
> the proper syntax,
> not at work right now:-)
> 
> Anyway, just define elements with some names. Users can edit those 
> in the editor, just make sure to actually include/place all the
> defined elements in the template :)
> 
> Frans
> 
> > -----Original Message-----
> > From: opencms-dev-bounces at opencms.org 
> > [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Chitra 
> > Prasad
> > Sent: dinsdag 15 maart 2005 13:41
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Creating templates with place holders
> >
> > Hi All,
> >
> > I am trying to build a template, in which i want to be able to 
> > fix the layout of the body, which means the users using this 
> > template will not be able to change the layout of the page but 
> > just be able to change the content in the place holders. The 
> > place holders will be a part of the template, is this possible?
> >
> > Thanks
> > Chitra Prasad
> >
> > -- _______________________________________________
> > NEW! Lycos Dating Search. The only place to search multiple 
> > dating sites at once.
> > http://datingsearch.lycos.com
> >
> >
> >
> > _______________________________________________
> > 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



Chitra Prasad

-- 
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at once.
http://datingsearch.lycos.com




More information about the opencms-dev mailing list