News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

AskAboutPHP.com: Codeigniter: Mixing segment-based URL with querystrings

PHPBuilder.com: Using Ajax with PHP to Create an Interactive Web Page

Stefan Koopmanschap's Blog: Distributing your project with symfony embedded

Symfony Blog: First Online Symfony Community Hack Day: July 5th!

Felix Geisendorfer's Blog: Bringing the cold war to CakePHP 1.2 - The Containable Behavior


Community Events





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


podcast framework list series community library threedevsandamaybe api unittest introduction release language code install wordpress laravel developer application configure interview

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