I am using:
$this->navigation()->menu();
and:
$this->navigation()->breadcrumbs();
on the same page to i) generate a set of pulldown menus and ii) show
the current position in the web site.
In the definition of the navigation object, I have had to specify the
"id" tag, as I alter the content of certain parts of the navigation
object on demand from program code.
e.g.
<features>
<type>My_Navigation_Page_Mvc</type>
<id>product_technology_features_id</id>
<route>product_technology_features_id</route>
<module>products</module>
<controller>technology</controller>
<action>features</action>
<label>Features</label>
<title>Features</title>
</features>
The View is set as follows:
$view = new Zend_View();
$view->doctype('XHTML1_TRANSITIONAL');
The issue I am experiencing is invalid XHTML, as the "id" specified in
the navigation object is returned twice per page -- once in the menu
and once in the breadcrumbs.
According to http://validator.w3.org/check, an "id" is a unique
identifier. Each time this attribute is used on a page, it must have a
different value.
In my particular case, there is no need that the "id" be echoed in the view.
Is there some way that I can get rid of it?
TIA
Jonathan Maron