Closed zaherg closed 9 years ago
Got the same issue here.
i just update it to the new code, but it didnt work .. same issue .. i only see one title unless i set the title in the same controller twice ..
You can fix this issue by the following (starting at line 278):
public function title()
{
if (func_num_args() >= 1)
{
$title_segments = func_get_args();
$this->_title = implode($this->_title_separator, $title_segments);
}
return $this;
}
i have the latest code ( including the one you posted ) and it didnt work ..
<?php
public function __construct()
{
parent::__construct();
$this->template->title('test');
}
// ------------------------------------------------------------------------
public function index()
{
$this->template->title('Users Management');
.....etc
}
the index function will only show 'Users Management'... just a note that am using MX HMVC for this project ..
Thanks. mr.jonsuh
Hey @linuxjuggler , did you find the solution for the problem?
Thanks mr @jonsuh it work for me
hi, i have just downloaded the new CI-3.0-dev ( 24/05/2012 ) and when i run my application i got this error :
which is
and remove it will cause the title to show the only title which we have passed inside the function controller, not even the one inside the constructor ..