• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic CSS: getting data into the file (again)

#1
[eluser]codex[/eluser]
You can put php in a css file by adding header('text/css'), and that all works fine. But I'd like to add <?php base_url()?> (and get data from a db) to the file, but this isn't available in a regular php file. How do you extend the file so that the ci instance is available?

I already asked this question some time ago, but haven't been able to find a solution yet. Here's the original post: http://ellislab.com/forums/viewthread/77954/


Messages In This Thread
Dynamic CSS: getting data into the file (again) - by El Forum - 09-02-2008, 07:37 PM
Dynamic CSS: getting data into the file (again) - by El Forum - 09-02-2008, 09:30 PM
Dynamic CSS: getting data into the file (again) - by El Forum - 09-02-2008, 09:32 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.