Hi,
How does this module handle css.php files that have query parameters ?
for example if i have a theme or module that does

drupal_add_css('mycss.css.php?a=1&b=2');

Comments

ceardach’s picture

Status: Active » Fixed

No, dcss won't support something like that. This module will take a php file and then create a static, normal CSS file to use in its place. Since a normal CSS file is ultimately passed to the browser, it cannot handle taking parameters like that.

You could make DCSS aware of variables $a and $b and then change their values in the 'dcss' variable depending upon the page's context.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.