AW: [opencms-dev] Adding elements to pages

Sebastian Himberger sebastian.himberger at gmx.de
Wed Dec 1 12:11:13 CET 2004


Hi,

here's a tutorial how to work with multiple Body-Elements.

http://www.opencms-forum.de/viewtopic.php?t=619

HTH
Sebastian

> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> bounces at opencms.org] Im Auftrag von Jerry Bednyak
> Gesendet: Dienstag, 30. November 2004 22:02
> An: opencms-dev at opencms.org
> Betreff: [opencms-dev] Adding elements to pages
> 
> I have about 60 pages all based on the same template.
> The pages have 5 elements each (copied from a default
> body). I want to add a new editable element ot the
> template using:
> 
> <cms:template element="newElement">
> <cms:include element="newElement" editable="true" />
> </cms:template>
> 
> The above entry works fine in the template, however
> when I try to edit it, there are is no "newElement" in
> the elements' drop-down list. Do I have to manually
> edit each page's control code and include the element
> using:
> 
> <element name="newElement">
>   <links/>
>   <content><content>
> </element>
> 
> or is there an easier way to do it? I'm using version
> 6 alpha 2.
> 
> Jerry
> 
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.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





More information about the opencms-dev mailing list