![]() |
CodeIgniter + Turbine CSS Framework - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CodeIgniter + Turbine CSS Framework (/showthread.php?tid=37694) |
CodeIgniter + Turbine CSS Framework - El Forum - 01-17-2011 [eluser]Unknown[/eluser] Hi! I found a CSS framework named Turbine (http://turbine.peterkroener.de/) not long ago, but I can't use with CI. I just put into my application/plugins/turbine folder and I was renamed the init file to "css_pi.php". After a little hax about some lib path, it seemed work. But when I tried to load the css parser I was stuck. I could'nt call the init script like this Code: <link rel="stylesheet" href="path/to/turbine/css.php?files=style.cssp" /> because the css.php is the css_pi.php and it's already loaded. What can I do? Regs! punyek CodeIgniter + Turbine CSS Framework - El Forum - 01-17-2011 [eluser]Unknown[/eluser] Ok, I created a turbine() function with a little hack and put everything on it. It called on my layout.php like this: Code: <link rel="stylesheet" type="text/css" media="screen" href="<?php turbine("style.cssp"); ?>" /> but it generated this: Code: <link rel="stylesheet" type="text/css" media="screen" href="/* Stylesheet generated by Turbine - http://turbine.peterkroener.de/ */" /> almost perfect but not yet ![]() ![]() ![]() |