Skip to content

Instantly share code, notes, and snippets.

@grauwoelfchen
Created April 1, 2011 01:40
Show Gist options
  • Save grauwoelfchen/897603 to your computer and use it in GitHub Desktop.
Save grauwoelfchen/897603 to your computer and use it in GitHub Desktop.
pageTitle of CakePHP 1.3
// 1.2
$this->pageTitle = 'Cute Blog';
// with h1
<h1><?php e($this->pageTitle = 'Wonderful Blog'); ?></h1>
// 1.3
$this->set('title_for_layout', 'Nice Blog');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment