[eluser]pnd_ku[/eluser]
Hello!
Thank you for great library
However i got a small problem.
I have a set of regions like this
$template['default']['regions'] = array(
'title',
'header',
'menu',
'content'
);
And i have 2 controllers:
1)In controller#1 i`m setting all regions and content region by write_view method.
Content view in this case is smth like:
"bla bla bla some content"
2)In controller#2 content region must contain some subregions.
For example view for content in this case is:
"bla bla bla <?=$another_region?>"
No problem with controller#1.
But for controller#2 i can`t define dynamic region.
$this->template->write_view('content', 'content_with_another_region');
$this->template->add_region('another_region');
$this->template->write_view('another_region', 'another_region_view');
And i`v got undef variable error
I hope you understand my problem.
Am i wrong at somewhere??
Thank you