Welcome Guest, Not a member yet? Register   Sign In
Load Views Problem
#4

[eluser]meigwilym[/eluser]
I'm afraid your question isn't very clear.

Are you using a database, or will your content be static pages?

The above example should help you along [although $this->load->view(‘thaboutpage.php’,$data); should be $this->load->view(‘thaboutpage’,$data);]. Can I suggest you splitting your template into a header.php and footer.php, and writing the content pages as needed. You can then load them as in the example.

Mei


Messages In This Thread
Load Views Problem - by El Forum - 01-16-2009, 03:58 AM
Load Views Problem - by El Forum - 01-16-2009, 04:51 AM
Load Views Problem - by El Forum - 01-16-2009, 08:32 AM
Load Views Problem - by El Forum - 01-16-2009, 05:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB