Hi,

On Tue, Nov 18, 2008 at 4:00 PM, the_woodsman <[EMAIL PROTECTED]> wrote:
>
> Hey Bakers,
>
> I came across Asset/filter.css in my core file, and thought I'd try
> and get it working - so far no luck!
> I'm assuming its supposed to aggregate all my CSS files into one big
> one?
>
> I've saved the csspp file in the vendors/csspp/csspp.php
>
> I did find the core setting a bit confusing -
>
> Configure::write('Asset.filter.css', 'css.php'); //is css.php supposed
> to point to csspp.php??

No, it points to the name of the file css.php in your webroot,

> But when I load my pages, there's no CSS.
> I can see various links have changed to /ccss/myfile.css, but these
> requests return empty files, albeit with a 200 OK status code.

It's ok, probably there is a problem with your csspp.php

> I don't have a folder called /ccss in my webroot- I tried creating it
> manually, still no luck.

You don't need one, it's handled with mod_rewrite.

> Does anyone have experience with this? Are there any docs/blog posts
> I've missed?

I read the manual, instaled csspp.php and have it working. But it
didn't aggregate all my css into one, and that is what I wanted to do
(aslo corrupted my css files, but that is beacuse of csspp.php) so I
made a patch for css.php (the one in the webroot) to parse all the
@includes in the css and make one big css. I have disabled csspp in
webroot/css.php because it corrupts my css. The patch for the includes
is here: https://trac.cakephp.org/ticket/5234

I use it and YSlow is happy now ;)


HTH,
- Dardo Sordi.

> Thanks,
> Elwood
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to