[opencms-dev] cms:include in a template

Marcus Popetz marcus at roundpeg.com
Fri Dec 9 15:33:26 CET 2005


Check out the cms:link tag....

href="<cms:link>/css/site.css</cms:link>">

It should create site-relative links for you.

-mp

At 07:46 AM 12/9/2005, Keith Davey wrote:
>Hi,
>
>I have a jsp template under the /system/modules/ section of my opencms system.
>
>I would like to use cms:include to include an editable file for end users.
>
>So I tried <cms:include page="/sites/default/mysite/myfile.html"/>
>
>But it doesn't seem to work. How should the path to file I want to include
>be structured or can this be done at all.
>
>Thanks,
>
>Keith
>
>
>_______________________________________________
>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