Any way to combine Zend_Config_Ini and CSS???
On Fri, Oct 10, 2008 at 11:03 PM, Matthew Ishii <[EMAIL PROTECTED]> wrote: > I was trying to find a way to incorporate the Zend_Config ini file > with my CSS, so that I can define all my configs in the same place, > and configure everything right down to the colors on the site. I came > across a website that had an article explaining how to load a dynamic > css file, using php. Apparently you can use php, as long as the > content is CSS it wont matter. Therefore I thought I could load my > configuration values into a php file that prints the css with a > heredoc (not necessary but any other way would be a pain in the ass). > > The problem is, it works fine, as long as I dont use the registry to > grab the configuration object. When it doesnt work, the CSS doesnt > print, so when I try to view the CSS file, its not printing out, I get > a blank page. > > Ive tried everything, I tried pulling the config out into a variable > and then referencing that inside the CSS heredoc statement, no dice. > I tried requiring the Registry lib file in case that was causing the > issue, no dice. Am I doing something wrong here, or does anyone else > have a way they do this that is easier? >
