Hello
I’m just getting into EE2 but I’m stuck.
I’ve created a templates directory called “assets” outside of the system folder and set a path to it.
I create a new template group called “style”. I then add a template to the group called “master” (note no .css extension) and add css rules to the file.
On my server the file appears in /assets/default_site/style.group/master.css (with a single extension).
In my home page index template the call to the stylesheet is
<link rel="stylesheet" href="{stylesheet=style/master.css}" media="screen, projection">but the style sheet is never applied.
If I edit the template “master” in the Template Manager and add an extension “.css”, the style sheet is called correctly.
However, the file on the server is now /assets/default_site/style.group/master.css.css with two extensions.
Is this correct operation? If it is, then it makes editing, and more importantly, syncing the files slightly awkward, as the files have to have .css.css extensions.
It also means that if I want to call a style sheet from within a style sheet using @import, the calls have to reflect the .css.css extension as well.
Thoughts? Early onset madness…
Regards,
Mark Jackson
Freelancer v2.1.3 Build: 20101220