Hi,
Fairly new to Modx.
I have a template working in Modx and very happy so far with the CMS.
However, I was wondering how easy it is to to highlight a part of my navigation, based on the page the user is on.
So if he’s on Home, it would underline that hyperlink.
Would there be a plugin for this, or is this something I’d have to do in PHP?
Many thanks for any pointers,
Michael
-
☆ A M B ☆
- 24,524 Posts
If you are using Wayfinder, it automatically adds a classname to the "current" document and all of its parents. So you can just style it in your CSS. Take a look at a "view source" of your page to see how your menu is being generated.
Many thanks.
I have downloaded it. How do I install it on Modx?
Thanks again for your prompt response.
-
☆ A M B ☆
- 24,524 Posts
It comes with your MODx installation, unless you deliberately chose to not install it.
Aaaah. I think I’ll just need to find a way to use it in my template now.
Aaah. Yep, that’s fine. I’m just unsure how to use it in the first place.
How do I know it’s installed on the server?
Thanks again for all your help.
-
☆ A M B ☆
- 24,524 Posts