How to insert view into another view? |
I think, that you need simple helper, like this:
PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Load this helper or autoload it. And call function from your view: PHP Code: <?php echo @view('my_view', array('param'=>'pam-pam')); ?> |
Messages In This Thread |
How to insert view into another view? - by Kostia - 12-10-2015, 01:27 AM
RE: How to insert view into another view? - by edwade3 - 12-10-2015, 02:51 AM
RE: How to insert view into another view? - by rakeshshrs - 12-10-2015, 03:04 AM
RE: How to insert view into another view? - by nasser.man - 12-10-2015, 03:13 AM
RE: How to insert view into another view? - by cartalot - 12-10-2015, 03:21 PM
RE: How to insert view into another view? - by ozzy mandiaz - 12-15-2015, 01:23 PM
RE: How to insert view into another view? - by webcomfort - 12-15-2015, 02:01 PM
RE: How to insert view into another view? - by jaynarayan - 12-17-2015, 11:01 AM
RE: How to insert view into another view? - by skunkbad - 12-17-2015, 03:22 PM
RE: How to insert view into another view? - by Kostia - 01-09-2016, 08:00 AM
RE: How to insert view into another view? - by Wouter60 - 01-10-2016, 07:22 AM
RE: How to insert view into another view? - by skunkbad - 01-10-2016, 09:23 PM
|