Best practice for meta data/css/js etc |
[eluser]josen[/eluser]
There's definitely a better way. What you need to do is use template. http://williamsconcepts.com/ci/codeignit...index.html You can code your template.php to load all the necessary js and css files. That way, you will need to load only the main content from your Controller instead of loading all the headers, footers, js, css, etc. It's much more elegant and easier to maintain. Good luck! |
Messages In This Thread |
Best practice for meta data/css/js etc - by El Forum - 09-01-2010, 04:01 AM
Best practice for meta data/css/js etc - by El Forum - 09-01-2010, 06:02 AM
|