2008年7月28日星期一

[fw-mvc] [newbie]how to handle menu class

Hello,

I'm quite new with ZF, and I have a small question. I'm using zend_layout,
and I want to have a menu like that:

< a class="activenavitab" href="#">option1 </ a>
< a class="navitab" href="#">option2 </ a>
< a class="navitab" href="#">option3 </ a>

How do I include this in my layout to handle the menu class (I want to
modify "activenavitab" to "navitab" depending on the page where I am) ?

Should I use placeholders? action helpers? ...? Should I do one module for
option1, one module for option2 and one module for option3 to know where I
am?

Thanks.
--
View this message in context: http://www.nabble.com/-newbie-how-to-handle-menu-class-tp18687002p18687002.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: