AW: [opencms-dev] templateone question

Andreas Zahner A.Zahner at alkacon.com
Mon Mar 7 16:42:47 CET 2005


Marcus,

have a look at the file
/system/modules/org.opencms.frontend.templateone/templates/main 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




More information about the opencms-dev mailing list