CodeIgniter + Turbine CSS Framework |
[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
[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 It flush the whole HTML code into the browser window I don't give up |
Welcome Guest, Not a member yet? Register Sign In |