Basically in default.ctp I have this for my title:
= $this->fetch(\'title\') ?>
And inside of the
If you want stick to your code, after setting "title" variable just simply write this:
= __('Main Project Name') ?> assign('title', $title); ?> = ' - ' . $this->fetch('title') ?>