[opencms-dev] Several Bodies in one content page
Stephan Hartmann
beffe at beffe.de
Thu Sep 26 14:07:06 CEST 2002
Hi,
you have to define your second body in one of the templates, for example the
content template where i suppose you use it.
.....
<TEMPLATE>
<ELEMENT name="body2"/>
</TEMPLATE>
<ELEMENTDEF name="body2">
<TEMPLATESELECTOR>body2</TEMPLATESELECTOR>
</ELEMENTDEF>
....
The templateselector selects the textbody of your page. if you ommit it the
default would be selected.
bye,
Stephan
Am Donnerstag, 26. September 2002 13:19 schrieben Sie:
> Hi,
> I'm new to OpenCMS and trying to come to grips with the template
> mechanism. The Documentation (and the Userinterface) suggests, that it
> is possible to use several bodies in one Page. My Problem is that when I
> try to insert a second body into the content page via <ELEMENT
> name="body2"> I get the error "[body2] unknown" although I've edited it
> into the page over the WYSIWYG-Editor. I abviously have to define this
> second body in one of the templates, but where? And what is the
> connection to the page control file, which I've not been able to
> find....?
>
> thanks,
>
> Eduard
More information about the opencms-dev
mailing list