You could set the variable in your controller. Something in the lines of:
<?php
$this->view->description ='foo';

Then, in your view/layout, check if if a custom description is set, and use
a some default description if it is not. Add the description to the meta
view helper:
<?php
$description = $this->description ? $this->description :
Zend_Registry::get('config')->description;
$this->headMeta()->appendName('description', $description);

Echo the view meta helper to output all meta tags:
<?php echo $this-> headMeta();
-- 
View this message in context: 
http://www.nabble.com/How-to-set-custom-meta-description-tags-for-each-page--tp25151422p25184125.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to