[opencms-dev] how to get page templates (elements * body) in page editor dialog list box ?

Schliemann, Kai K.Schliemann at comundus.com
Fri Aug 8 13:51:01 CEST 2014


Hi Chris,
AFAIK, the template property of your main template (in the templates folder of your module(s)) holds the info, which body elements can be used. There you can also define a key/value pair for each entry. One is used as label in the editor, the other one is used in your JSP.

HTH
Regards
Kai

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
Gesendet: Freitag, 8. August 2014 10:49
An: The OpenCms mailing list
Betreff: [opencms-dev] how to get page templates (elements * body) in page editor dialog list box ?

In the page editor (FCK-editor) is this listbox where one can choose into which page element a certain content should go.
How do I get other elements into this list box? I early Opencms 5 times I had to edit the control code for this, IIRC.

Another riddle: I have "Inhalt" and "Titel" beside "* body" in this combo box right now.

But the page element I'm including in the JSP is written "inhalt" (small letter i). When I rename that to "Inhalt", no content is found or inserted.

So where comes the capitalization of the word "Inhalt"?

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de _______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list