CSS/images folder |
[eluser]Craig A Rodway[/eluser]
This is how I have my folder structure: Code: + system In my core template: Code: <html> The benefit of this is that each image, javascript and css file doesn't need the full URL each time (less to think about on each asset) and makes pages a few bytes smaller
[eluser]Unknown[/eluser]
[quote author="Craig Rodway" date="1199062284"]This is how I have my folder structure: Code: + system In my core template: Code: <html> The benefit of this is that each image, javascript and css file doesn't need the full URL each time (less to think about on each asset) and makes pages a few bytes smaller [/quote] wow thanks for this!
[eluser]nomikos3[/eluser]
For the record: Check the asset helper for output css/images/js. http://codeigniter.com/wiki/Asset_Helper/ Code: <p> |
Welcome Guest, Not a member yet? Register Sign In |