I got around this by adding the following to
AppController::beforeRender until I was able to clean up the
controllers.
if (!empty($this-pageTitle)) {
$this-set('title_for_layout', $this-pageTitle);
}
On May 31, 11:27 pm, Miles J mileswjohn...@gmail.com wrote:
This was the one thing I hated
Hello all
I just started with CakePHP 1.3.1. I am trying to set the title of a
page. I have defined the title_for_layout in the default layout as
well, still the view does not get the title I want. Instead it
displays the name of controller. Although setting the title_for_layout
in the view
$this-pageTitle was removed in 1.3. Use only $this-
set( title_for_layout, First Page ) in controller or template.
On Jun 1, 8:21 am, SeeVik vikramvmalhotra1...@gmail.com wrote:
Hello all
I just started with CakePHP 1.3.1. I am trying to set the title of a
page. I have defined the
This was the one thing I hated that they changed. Took me the longest
to go through and update every controller.
The time spent changing this was greater than the time spent upgrading
to 1.3 as a whole.
On May 31, 6:03 pm, Sergei yatse...@gmail.com wrote:
$this-pageTitle was removed in 1.3. Use