Welcome Guest, Not a member yet? Register   Sign In
File organization/convention

Hi all!

I am new to CI..

I wanted to know where should I put the following directories - does CI have any conventions?

The directories I wanted to use in my application are css, javascript, image etc.. in which location should I make those directories, inside the view folder?

Any suggestion will be really appreciated.


You can basically put them where ever you want, but may I suggest looking at the assets helper in the Wiki? It basically gives you a folder to organize all your images, css, and javascript, and it makes them easy to load. It gives you the ability to load other types of assets, as well.

Theme © iAndrew 2016 - Forum software by © MyBB