On Feb 17, 12:56 am, xanders <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> this is probably something pretty common for all of us. I would like
> the site title to be appended / perpended (not sure what one yet) to
> each page title. So if a template is set to have "About Us" in the
> view.yml, the actual rendered title will be "About Us - Site Name"
>
My page title and meta's are extracted from a database. I simple add
the site name (noorden.com) to the page title in my executePermalink
function in the action.class.php, like this:

$this->getResponse()->addMeta('title', 'Noorden.com - ' . $page-
>getTitle());
$this->getResponse()->addMeta('description', $page-
>getMetaDescription());
$this->getResponse()->addMeta('keywords', $page->getMetaKeywords());

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to