Exactly what i want !
Thanks :)

On 9 juil, 10:31, Andreas Hucks <[EMAIL PROTECTED]> wrote:
> You can compare the route used in the link_to() function in the menu to
> the current route name using:
>
> sfContext::getInstance()->getRouting()->getCurrentRouteName()
>
> If it matches, output a different CSS class for the link in question.
>
> Andreas
>
> Sylver schrieb:
>
> > no idee ? :/
>
> > On 8 juil, 12:57, Sylver <[EMAIL PROTECTED]> wrote:
> >> Hey,
> >> i have a little question... i wish to put the name of the page on the
> >> menu in another color. How can i know on wich page i am ?
>
> >> Thanks :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to