Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

$this->headTitle() does not work

I have in my config.ini the titles of my pages In my Bootstrap.php I have

$title  = $config->title;
Zend_Registry::set('title',$title);
$view->headTitle($title);

In my layout.phtml I have:

echo $this->headTitle();

That does not work. The title is blank. What should I do?

like image 386
Roger Nem Avatar asked May 13 '26 16:05

Roger Nem


1 Answers

Do you return the view in the bootstrap after you are done with it?

return $view;
like image 160
Iznogood Avatar answered May 16 '26 06:05

Iznogood



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!