path names for templates? I am a little confused over the path names I have to use to get a template to work. It is mainly to do with the CSS.
I am on a shared server and my html is all held in the httpdocs folder so normally everything is specified relative to that.
After installing Mambo I now have a folder under httpdocs called Mambo and a directory called templates under that.
Within the templates folder I have a theme folder called midnight and within that I have another sub folder called css which holds a style sheet called template_css.css
Also within midnight I have index.php and templateDetails.xml
So the structure looks like this:
httpdocs/Mambo/templates/midnight/css/template_css.css
httpdocs/Mambo/templates/midnight/index.php
httpdocs/Mambo/templates/midnight/templateDetails.xml
Within index.php I have the line:
<link href="css/template_css.css" rel="stylesheet" type="text/css" />
(It's what Dreamweavers creates when I reference the css using it's file browser to locate it)
Within the templateDetails.xml I have the lines
<files>
<filename>index.php</filename>
<filename>template_thumbnail.png</filename>
</files>
<images>
<filename>images/arrow.png</filename>
</images>
<css>
<filename>css/template_css.css</filename>
</css>
When I publish my template, the css does not seem to be getting picked up... am I sure I'm doing something dumb and just can't see it?
I would be very grateful for any help anyone can give.
Cheers,
Nick. |