Closed (fixed)
Project:
Dynamic CSS
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 May 2010 at 13:00 UTC
Updated:
2 Jun 2010 at 15:40 UTC
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
Comment #1
ceardach commentedNo, 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.