Welcome Guest, Not a member yet? Register   Sign In
CSS in CI
#5

[eluser]Phil Sturgeon[/eluser]
Code:
<?php echo link_tag('assets/css/site.css'); ?>

vrs:

Code:
<?php echo css('site.css'); ?>

and even:

Code:
<?php echo css('site.css', 'modulename'); ?>

I think you'll find my library and helper is as simple (or even more so) than the CodeIgniter helpers and gives you much more flexibility. The benefit of using the Asset library now is that as I add in caching and minification features, you will have no work what-so-ever required to implement it.


Messages In This Thread
CSS in CI - by El Forum - 10-16-2009, 12:10 AM
CSS in CI - by El Forum - 10-16-2009, 12:47 AM
CSS in CI - by El Forum - 10-16-2009, 01:49 AM
CSS in CI - by El Forum - 10-16-2009, 02:13 AM
CSS in CI - by El Forum - 10-16-2009, 02:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB