How to set layout $this->title in controller action.
I try
$this->view->title = 'Hallow world';
also …
$this->title = 'Hallow world';
I can’t find how to do it.
How to set layout $this->title in controller action.
I try
$this->view->title = 'Hallow world';
also …
$this->title = 'Hallow world';
I can’t find how to do it.
Can you show your existing action code?
Edit:
I think
$this->getView()->title = 'Title';
should work, which is presumably equivalent to your first statement.