Welcome Guest, Not a member yet? Register   Sign In
How to link external css files in codeigniter 2.0
#1

[eluser]mi6crazyheart[/eluser]
Hello peoples,
Just recently i've download CI 2.0 & trying to use it now. Every things are fine except one thing... that, i can able to link external css file in VIEW files.

In CI 1.7.2 i was using this for link my external CSS files.
Code:
<link rel="stylesheet" href="<?php echo base_url(); ?>system/application/views/css/reset.css" />

But, as in CI 2.0 there is a small change in application folder. So, i tried this following line to link my external file. But, it's not working.
Code:
<link rel="stylesheet" href="<?php echo base_url(); ?>application/views/css/reset.css" />

My Controller file is this...
Code:
<?php

class Welcome extends Controller {

    function Welcome()
    {
        parent::Controller();
        $this->load->library('session');
        $this->load->helper('url');    
    }
    
    function index()
    {
        //$this->load->view('welcome_message');
        $this->load->view('welcomePage2');
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */


So Guys, is any body who r now using CI 2.0 can help me little bit to figure out the problem...

Thx in Advance... :coolsmile:


Messages In This Thread
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 08:23 AM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 12:30 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 12:53 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 12:57 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 01:20 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 02:54 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 02:57 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 11:06 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-24-2010, 11:37 PM
How to link external css files in codeigniter 2.0 - by El Forum - 07-25-2010, 04:55 AM
How to link external css files in codeigniter 2.0 - by El Forum - 07-25-2010, 05:40 AM
How to link external css files in codeigniter 2.0 - by El Forum - 07-25-2010, 10:24 AM
How to link external css files in codeigniter 2.0 - by El Forum - 09-24-2010, 07:37 AM
How to link external css files in codeigniter 2.0 - by El Forum - 03-25-2011, 08:31 AM
How to link external css files in codeigniter 2.0 - by El Forum - 06-08-2011, 10:16 AM
How to link external css files in codeigniter 2.0 - by El Forum - 06-09-2011, 04:44 PM
How to link external css files in codeigniter 2.0 - by El Forum - 06-10-2011, 01:21 AM
How to link external css files in codeigniter 2.0 - by El Forum - 06-10-2011, 09:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB