[opencms-dev] bvr: Templates with StyleSheets and images
Michael Emmerich
m.emmerich at alkacon.com
Wed Sep 21 15:33:19 CEST 2005
Of course you could do that, its more a way of programming style within
your JSPs and templates
But if you have JSPs outside the system folder which should include
something from within the system folder, you have to use the full path.
To have all links in a equal way I would then also use full paths inside
the module as well. Just to keep all all links the same way.
Regards,
Michael Emmerich
Alkacon Software
Thomas Maerz schrieb:
> 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
>
>
>
> _______________________________________________
> 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