Closed Cipa closed 10 years ago
Hi, In this code the set and the second param in build are not working for me
$this->template ->title('Blog', 'xxx') ->set('table', 'table') ->set_partial('top-bar', 'partials/top-bar') ->build('home', array('message' => 'Hi there!'));
a var dump for the above returns
array(4) { ["title"]=> string(10) "Blog | xxx" ["breadcrumbs"]=> array(0) { } ["metadata"]=> string(0) "" ["partials"]=> array(0) { } }
So message and table values are not being set. The rest seems to work fine.
Thank you
So it turns out a variable $table is available in the view. I thought everything is inside $template
Hi, In this code the set and the second param in build are not working for me
a var dump for the above returns
So message and table values are not being set. The rest seems to work fine.
Thank you