Closed oadslug closed 10 years ago
It depends where you're setting the "siteUrl" value in your config file. Is it inside or outside of the environmentVariables array?
http://craftcms.stackexchange.com/questions/1771/environment-variable-siteurl-ignored/
I may change the plugin example, since "siteUrl" is no longer the preferred terminology for that variable... instead the example should now read "baseUrl".
http://buildwithcraft.com/docs/multi-environment-configs#environment-specific-variables
There used to be a lot of confusion about the difference between {siteUrl}
and {{ siteUrl }}
...
http://craftcms.stackexchange.com/questions/911/how-do-i-make-site-links-relative/913#913
Hope that helps!
Thank you! Adding siteUrl to the environmentVariables worked perfectly. And thank you also for the plugin. Very much appreciated. — D
Excellent! Glad you're enjoying it!
For some reason the path to the external css file is not parsing {siteUrl}, but treating it as a string literal. {siteUrl} works in other parts of the CMS, so it's definitely not a site-wide setting. Any thoughts why this might not be working?