SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic disable combine CSS files- temporarily 4410 Views

disable combine CSS files- temporarily

20 February 2012 at 10:09am Last edited: 20 February 2012 10:23am

Is there a way to disable the combined files option so it is easier to create a custom theme?

I've created a custom theme folder etc as the in the quick demo.

combined files are great for he end result but not so helpful when developing.

I always thought Director set_environment_type('dev'); would disable combined files? thats what it says in silverstripe 2.4 book

i usually use expresso.app which allows me to quickly select class/id elements and map the css path to local files etc.

When they are combine this obviously causes an problem.
It would be great to be able to see the css structure rendered in the source. so i can see what css files that actually need editing.

Re: disable combine CSS files- temporarily

20 February 2012 at 10:24am

I have commented out SilverCartPage.php line 281 to 320 temporarily which seemed to fix it

unless there is a better way