Welcome Guest, Not a member yet? Register   Sign In
How to removing CI controller name
#2

[eluser]marcogmonteiro[/eluser]
1st you should not have assets inside your views folder.

So you need to create a folder in your root called assets or public and all those js and css files should be inside that folder.

Then you can just load those assets like this:

Code:
<link href=<?= base_url('assets/css/css_file.css') ?>' rel='stylesheet' type='text/css'>


Messages In This Thread
How to removing CI controller name - by El Forum - 06-26-2012, 04:35 AM
How to removing CI controller name - by El Forum - 06-26-2012, 04:44 AM
How to removing CI controller name - by El Forum - 06-26-2012, 04:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB