Welcome Guest, Not a member yet? Register   Sign In
how can i config the html into CI ?
#1

[eluser]Unknown[/eluser]
hello everyone
I am new to CI.I am developing a project so please help me how I set up the images/css/js folder. Where I need to keep my common files like header/footer etc. and how I can add these files ?
#2

[eluser]LuckyFella73[/eluser]
Welcome to the forums! A good start would be to explore the userguide. This page answers your question quite well: http://ellislab.com/codeigniter/user-gui...pages.html
After that have a look at the helpers / url_helper to get your path. In htdocs create an "assets" folder containing folders like images, css, javascript etc.
Just one way to organize your assets ..
#3

[eluser]InsiteFX[/eluser]
As far as your css images and js most of us create an assets directory in the root for these like below.
Code:
application
system
assets
-- css
-- images
-- js
index.php




Theme © iAndrew 2016 - Forum software by © MyBB