Welcome Guest, Not a member yet? Register   Sign In
Having some trouble...
#1

[eluser]Shujin[/eluser]
So i'm having some real trouble with this bit of code...
I've set it up so the main template loads the views of both header, footer and content.
Code:
<?php
    $this->load->view('includes/header', $page, $title);
    
    $this->load->view('pages/'.$page);
    
    $this->load->view('includes/footer');
?>

Now my problem is, I need my footer to display an RSS feed. I have the necessary code to display the RSS feed but how do I get it so that the template is constructed with the RSS feed by default. Without me having to add the RSS feed code to every function of my main controller.

Much thanks,
Geoff


Messages In This Thread
Having some trouble... - by El Forum - 09-26-2010, 03:36 AM
Having some trouble... - by El Forum - 09-26-2010, 04:46 AM
Having some trouble... - by El Forum - 09-26-2010, 05:15 AM
Having some trouble... - by El Forum - 09-26-2010, 07:47 AM
Having some trouble... - by El Forum - 09-26-2010, 08:40 AM
Having some trouble... - by El Forum - 09-26-2010, 11:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB