2864 Posts in 732 Topics by 700 members
Template Questions
SilverStripe Forums » Template Questions » generating a CSS page, possible bug? 404 error
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 693 Views |
-
generating a CSS page, possible bug? 404 error

4 March 2010 at 9:09am
Hi
I tried to use
Director::addRules(80, array(
'sitesettingsmodule/sitesettings.css' => 'SiteSettingsCSS',
));
in _config.php but received a 404 page not found error.I was doing this to create a css page so that I can have a dynamic CSS page which I can control from the CMS. For example being able to change the background color from within the CMS.
i have used this method before to create XML pages, no tag pages, php pages and all to no problem. I had a look in the back end and couldn't see any where this was blocked. Anyone had any experience with this? it seens like it could be a bug, I don't see any security reasons as to why Silverstripe would block it but perhaps they didn't think to include it either.
Thanks very much for your help.
| 693 Views | ||
|
Page:
1
|
Go to Top |

