Welcome Guest, Not a member yet? Register   Sign In
Css file inclusion problem
#1

[eluser]Bluemagix[/eluser]
I have one controller called blog.php
as follows

Code:
<?php
class Blog extends Controller {
    function index()
    {
        $this->load->helper(array('form', 'url','security'));
        $this->load->library('form_validation');
        $data['header'] = 'header'; // name of the view
        $this->load->library('template');
        $this->load->view('template', $data);
    }
    function home()
    {
        $this->load->helper(array('form', 'url','security'));
        $this->load->library('form_validation');
        $data['header'] = 'header'; // name of the view
        $this->load->library('template');
        $this->load->view('template', $data);
        $this->load->view('home');    // name of the view
    }
    function forum()
    {
        $this->load->view('forum'); // name of the view
   }

http://localhost/blog is giving me the output what i want
but it seems that css file is not added for
http://localhost/blog/index
or http://localhost/blog/home

why it is so??
n what is the diffrance between
http://localhost/blog/ and http://localhost/blog/index


Messages In This Thread
Css file inclusion problem - by El Forum - 01-17-2009, 04:09 AM
Css file inclusion problem - by El Forum - 01-17-2009, 05:03 AM
Css file inclusion problem - by El Forum - 01-17-2009, 07:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB