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

Joe Desbonnet jdesbonnet at gmail.com
Wed Sep 21 15:04:59 CEST 2005


In your template JSP  (assuming 'cms' is an instance of CmsJspActionElement)
try
<link rel="stylesheet" type="text/css"
href="<%= cms.link("/system/modules/com.free.templates.orangetemplate/resources/style.css")%>"
/>

Joe.

On 9/21/05, Michael, Nick N <Nick.Michael at standardbank.co.za> wrote:
>
>
> However I have a problem I do not know how to get the template to load an
> image and a style sheet from a folder in its associated module
>
>
> There is a style sheet filename: style.css
> in a folder named : resources
> full path:
> /system/modules/com.free.templates.orangetemplate/templates/
>



More information about the opencms-dev mailing list