News Feed
Jobs Feed
Sections




News Archive
Dave Dash's Blog:
Dynamically adjusting your page title in symfony
July 20, 2007 @ 12:03:00

Dave Dash has posted a quick hit for symfony framework users - how to dynamically adjust your page title at your whim.

A lot of the content on reviewsBy.us and other sites we make using symfony have dynamic content. We try to have our page titles reflect the content by prepending the name of the specific restaurant, document or menu item before the site name.

Their path to the prize is a method, prependTitle that's included in a class (myActions.class.php) and used via it's reference in the application's app.yml file.

0 comments voice your opinion now!
dynamic adjust page title symfony framework yml dynamic adjust page title symfony framework yml


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: MVC changes in Zend Framework

Hasin Hayder's Blog: Prelude to foundation: Its time to go for a better PHP Framework

Matthew Weier O'Phinney's Blog: Symfony Live 2010 (A message of Interoperability)

David Otton's Blog: Frameworks vs. Libraries in PHP

The Bakery: Mambo, Layout Switching, SimplePie and Caching Elements


Community Events











Don't see your event here?
Let us know!


release introduction code community unittest conference podcast opinion development interview series functional application phpunit language zendframework2 tool framework testing example

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework