Welcome Guest, Not a member yet? Register   Sign In
Where to place assets
#11

[eluser]nZac[/eluser]
I am going to dig this thread up again but with a little different spin. Is there an asset helper? Like something that will dig up CSS and images for me. I know there is the img() function. But what does CI have for CSS? Also as I have been exploring the forums I have seen that the trend is to place all extras (CSS, Images, and other peripherals) outside of the system folder. Is this good practice?
#12

[eluser]Thorpe Obazee[/eluser]
You can check this one out: http://codeigniter.com/wiki/Asset_Helper/
#13

[eluser]nZac[/eluser]
Thanks bargainph, exactly what I am looking for!
#14

[eluser]nZac[/eluser]
Code:
$this->load->helper('asset');

I put that in my controller file and it wont work on the view. I but right above it I have an html helper that will work in the view file. if i put it in the view file all works well. Is this expected behavior?




Theme © iAndrew 2016 - Forum software by © MyBB