Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter + Turbine CSS Framework
#1

[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
#2

[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 yetBig Grin It flush the whole HTML code into the browser windowBig Grin I don't give upBig Grin




Theme © iAndrew 2016 - Forum software by © MyBB