Hi Pedro, could you do the following please: check the source code of the generated HTML page in the browser and let me know, what is generated from the tag:
<link rel="stylesheet" href="<content:contextURL/>/estils/i2.css" type="text/css"/> That is just to check if the <content:contextURL/> tag is working correctly. Then try to open this URL in your browser window. It should be something like this: http://localhost:8080/jahia/jsp/jahia/templates/prova2/mistemplates/estils/i2.css If you don not see this CSS file, then something is wrong. Let me know, please, about the resaults Kind regards Sergiy Pedro Tirado Diaz schrieb: > Hi Sergiy, > > Thanks for your answer, but still doesn't work. > > I have the jahia site templates in : > > Z:\jahia5.0.1_03\tomcat\webapps\jahia\jsp\jahia\templates\prova2 > > Where prova2 is my site. > > There are 2 more folders : "corporate_portal_templates_v2" and > "mistemplates" this last one is the folder where I saved my templates > "portada6.jsp" and "holamundo.jsp". I've also created two folders inside > this folder, "estils" where there is the stylesheet named i2.css, another > folder inside "mistemplates" named "images" where there are the images I > pretend to show. > > The reference inside de code of the jsp files to the stylesheet is: > <link rel="stylesheet" href="<content:contextURL/>/estils/i2.css" > type="text/css"/> > > > For the images, between the html tags <body></body> of course I do something > like: > > <img src="./imatges/naranjito.jpg" width="47" height="56" /> > > I also tried with: > > <img src="<content:contextURL/>/imatges/naranjito.jpg" width="47" > height="56" /> > > I did what you told me: copy the css to the "corporate_portal_templates_v2" > folder and also the folder images with all the files I need, but still have > problems...the page does not show any image nor the CSS styles. > > Thank you very much! > > Pedro Tirado > > _______________________________________________ template_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
