Welcome Guest, Not a member yet? Register   Sign In
SOLVED - FORM VAL / SESSION, more than one error page two errors out??
#2

[eluser]RJ[/eluser]
First post was too long, here is the code handling page two so far, not much.
Code:
function page_two()
    {
        // Build the page
        $page = 'page_two';
        $data['css']         = $this->common->set_css();
        $data['nav']         = $this->suw->navigation($page);
        $data['round_start']= $this->common->round_start();
        $data['content']    =    $this->load->view('device_two');
        $data['sidebar']     = "Side bar here";
        $data['round_end']     = $this->common->round_end();
        $data['footer']     = "Ouch!  This is my foot...er";
        $data['google']     = $this->load->view('google','', TRUE);
        
        // write to template
        $this->template->write('title', 'Welcome Page Two');
        $this->template->write('css', $data['css']);
        $this->template->write('nav', $data['nav']);
        $this->template->write('round_start', $data['round_start']);
        $this->template->write('content', $data['content']);
        $this->template->write('sidebar', $data['sidebar']);
        $this->template->write('round_end', $data['round_end']);
        $this->template->write('footer', $data['footer']);
        $this->template->write('google', $data['google']);
        // render page
        $this->template->render();
        
        print('Page duce');
    }


Messages In This Thread
SOLVED - FORM VAL / SESSION, more than one error page two errors out?? - by El Forum - 05-02-2009, 01:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB