[opencms-dev] bvr: Templates with StyleSheets and images

Thomas Maerz thomasmaerz at gmx.de
Wed Sep 21 15:25:11 CEST 2005


Michael Emmerich <m.emmerich at alkacon.com> writes:

> Always use the <cms:link> tag and the full path inside of OpenCms if you 
> link to anything inside your template - ie. images, stylesheets, weblinks.

Why should you use the full path and not 
<cms:link>resources/style.css</cms:link>?

With relative paths you don't have any problems with links
when renaming your module folder. 

Regards,
Thomas




More information about the opencms-dev mailing list