Hello,
I’m having an issue with EE2.1.3 and CSS links not working on my localhost (Mac OSX 10.6.6 MAMP). The problem seems to be related to a missing “/” when the cached version of the stylesheet is produced.
If I create a new template called _/includes/main_css and set it as filetype css, I can then view that stylesheet at:
http://localhost/mysite/index.php/?css=_includes/main_css
So far so good.
However, if I look at the final rendered page, the CSS gets cached and a version number is appended. Additionally, the “/” after index.php is taken out, so I end up with a URL like so:
http://localhost/mysite/index.php?css=_includes/main_css.v.1297702923 (notice the missing “/” after index.php)
The above URL does not work on my localhost.
However, if I add that slash back in manually like this, the stylesheet is displayed just fine:
http://localhost/mysite/index.php/?css=_includes/main_css.v.129770292
Has anyone else run into this problem?
Just to clarify, I am using the {stylesheet=template_group/css_template} method. The {path=template_group/css_template} method works fine.