Welcome Guest, Not a member yet? Register   Sign In
Basic Page Function
#2

(This post was last modified: 10-22-2014, 01:28 AM by Rufnex.)

You can also load it also directly inside the view:

some-page-template.php
PHP Code:
<?php $this->load->view('header'); ?>
<?php $this
->load->view('navigation'$data); ?>
... content ...
<?php $this->load->view('footer'); ?>

And here the call in the controller:

PHP Code:
$this->load->view('some-page-template'$this->data); 

Nothing new i think ;o)

Reply


Messages In This Thread
Basic Page Function - by Tux - 10-22-2014, 12:48 AM
RE: Basic Page Function - by Rufnex - 10-22-2014, 01:27 AM
RE: Basic Page Function - by John_Betong - 10-22-2014, 06:16 AM
RE: Basic Page Function - by John_Betong - 10-22-2014, 06:20 AM
RE: Basic Page Function - by Rufnex - 10-22-2014, 09:45 AM
RE: Basic Page Function - by navotjer - 10-24-2014, 04:29 AM
RE: Basic Page Function - by jlp - 10-25-2014, 06:35 AM
RE: Basic Page Function - by puppy - 11-04-2014, 08:11 AM
RE: Basic Page Function - by kilishan - 10-25-2014, 08:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB