Welcome Guest, Not a member yet? Register   Sign In
[solved]Backspace key problem while surfing (new noob inside).
#7

[eluser]Asshai[/eluser]
Thanks for your replies.

InsiteFX, yes, I've got a menu based in html/css... I mean:

a href = "/site/home" title="Main page">Home</a>
...

I use this structure:
Code:
// Class Site, controller
public function home(){
        $data['content'] = 'home_content';
$this->load->view('template', $data);  
}

// home_content.php (view with the content of home)

<div>My content blah blah blah</div>

// template.php (it's a view)

&lt;?php

$this->load->view('includes/header');

$this->load->view($content);

$this->load->view('includes/footer');

?&gt;

// In my view: 'includes/header.php' should be the nav. menu
a href="/site/home">Home</a>

So, can you please point to me the idea or some examples to make a 'codeignite navigation menu' and how to show it?


Messages In This Thread
[solved]Backspace key problem while surfing (new noob inside). - by El Forum - 02-16-2012, 09:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB