Hello,
I use to build menu in my application using
$this->navigation()->menu($container)
where $container is a Zend_Navigation instance that contains instances of
Zend_Navigation_Page.
Everything works fine, except that I cannot find the correct way to render the
'rel' attribute with nofollow value.
This is an example of the code I use
$container->addPage(Zend_Navigation_Page::factory(array(
'uri' => $myuri,
'label' => $mylabel,
'class' => $myclass,
'rel' => array('nofollow'=>'nofollow'), // something wrong here...
'order' => $sort
))
Links are rendered without rel, so the question is, what should be the rel
array to be rendered as 'nofollow' ?
Thanks
_________________________________________________________________
Quante ne sai? Gioca con Crosswire e mettiti alla prova!
http://livesearch.games.msn.com/crosswire/default_it/