Hello

Can someone tell me how to use static resources in templates.
For example, I have a CSS resource in a following folder:

/webapps/magnolia-author/mycompany/style/mystyle.css


Which I want to use in my template located under

/webapps/magnolia-author/mycompany/template/standard.jsp


In standard.jsp (in the head ) I have

<link rel="stylesheet"          href="../style/mystyle.css"
type="text/css" />


But this gives me a 404 error...
I also tried

<link rel="stylesheet"          href="/style/mystyle.css "
type="text/css" />
<link rel="stylesheet"          href="style/mystyle.css "
type="text/css" />
<link rel="stylesheet"          href="/mycompany/style/mystyle.css "
type="text/css" />
<link rel="stylesheet"          href="mycompany/style/mystyle.css "
type="text/css" />



None of the above works....

Any ideas?

Thanks
Amir


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to