[opencms-dev] Use of cms:includ>

Florian Hopf hopf at synyx.de
Wed May 23 09:50:01 CEST 2007


Hi,

William T. Mann wrote:
>
> However, if I try to do it dynamically it won't work:
>
> <cms:contentcheck ifexists element="Sector">
>     <p>Sector: <cms:include file="<cms:contentshow element="Sector"/>"
> element="Description" /></p>
> </cms:contentcheck>
>
> This gives an error. Is it possible? What am I missing?
>
Did you try

<cms:include>
    <cms:contentshow element="Sector"/>
</cms:include>

This might work ...

Kind regards
Flo



More information about the opencms-dev mailing list