Welcome Guest, Not a member yet? Register   Sign In
[solved]Navigation Menu - loading other pages?
#1

[eluser]brucebat[/eluser]
Hi all,

I have built my template for codeigniter which consists of:

controller
=================
site_controller.php (contains index, blog, submit form, retrieve form, login, logout functions)

template structure
==================
template_view.php
header_view.php
nav_view.php
footer_view.php
widgets_view.php

===================
fillers for template:

home.php
blog.php
submit_data.php
retrieve_data.php
login.php

===================
models
===================

blog_model.php
submit_model.php
retrieve_model.php


---------------------------------------

My question is how do I call my other functions w from my navigation menu on my website.

http://i.imgur.com/Eo9it.jpg

I have tried this but it causes my page to stop displaying

Code:
<a >load->controller('site', $page); ?&gt;">Login</a></li>


I think I have missed out on something but I have searched and with my ignorance of the terminology and dogma of this system; have not been able to find an answer for what I need to do to get this crucial part of my site working.

Perhaps a point in the right direction would be beneficial in my learning of this framework rather than a straight out answer ?

Thankyou for your time Smile!


Messages In This Thread
[solved]Navigation Menu - loading other pages? - by El Forum - 06-16-2011, 01:27 PM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-16-2011, 09:59 PM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 08:26 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 09:58 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 10:08 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 10:14 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 10:53 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 11:00 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 11:02 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 11:23 AM
[solved]Navigation Menu - loading other pages? - by El Forum - 06-17-2011, 11:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB