AW: [opencms-dev] templateone question

Marcus Redeker mredeker at web.de
Mon Mar 7 18:11:41 CET 2005


Thanks for the quick answer, Andreas.

One other question:

I use the following code in my JSP-Template

<cms:template element="body">
<cms:include element="body" editable="true" />
</cms:template>


but I do not get the icon to edit the content. What else do I have todo.

Thanks,

--Marcus 

> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Andreas Zahner
> Gesendet: Montag, 7. März 2005 16:43
> An: 'The OpenCms mailing list'
> Betreff: AW: [opencms-dev] templateone question
> 
> Marcus,
> 
> have a look at the file
> /system/modules/org.opencms.frontend.templateone/templates/mai
> n and check
> the property "template-elements": The elements appearing in the editor
> select box are defined by the property value (text1*|Text Z1 
> S1,text2|Text
> Z1 S2,text3|Text Z2 S1,text4|Text Z2 S2,text5|Text Z3 S1,text6|Text Z3
> S2,text7|Text Z4 S1,text8|Text Z4 S2).
> 
> If you want to add new elements, you have to enhance the 
> property value as
> well as the template itself to display the element at the 
> desired position.
> 
> Regards,
> 
> Andreas Zahner
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com 
> 
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Marcus Redeker
> Gesendet: Montag, 7. März 2005 16:33
> An: 'The OpenCms mailing list'
> Betreff: [opencms-dev] templateone question
> 
> All,
> 
> how does the wysiwyg editor know that the element "text1" 
> from index.html in
> the demopages folder translates to "Text Z1 S1"? And also how 
> can I add new
> elements from the editor? I can only activate alements or 
> delete elements
> content from the editor. Do I have to "Edit controlcode" to add new
> elements?
> 
> Thanks,
> 
> --Marcus
> 
> 
> 
> _______________________________________________
> 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
> 




More information about the opencms-dev mailing list