[opencms-dev] template-elements

Daniel Noatnick dno at archikart.de
Thu Apr 14 11:21:42 CEST 2005


Hallo group,

I use opencms6b1.

In my site I have some pages where my sidemenu should be invisible.
So I create an element in my pages like this.

...
<element name="menu_out">
    <links/>
    <content/>
</element>
...

In my template I use following to include my sidemenu:

...

<%if(!cms.template("menu_out", false)) { %>

<cms:include file="../elements/side_navi.jsp" />



<% } %>

...

That works fine with XML-Pages, but when I call a .jsp, the menu is invisible too.

What parameter for my .jsp can I use, to show up my sidemenu all the same?



Thanks for your help

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050414/1c9287a9/attachment.htm>


More information about the opencms-dev mailing list