Where to place assets |
[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?
[eluser]Thorpe Obazee[/eluser]
You can check this one out: http://codeigniter.com/wiki/Asset_Helper/
[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? |
Welcome Guest, Not a member yet? Register Sign In |