My main menu has links to common things: HOME | PHOTOS | VIDEOS ... etc. Home points to /
, PHOTOS points to /photo-galleries
and VIDEOS points to /videos
The client has added a new feature request and I'm trying to figure out how to handle this. The site has a couple of general topics, let's say baseball
, football
and soccer
.
When I browse to the main home page /
, then the menu should point to /photo-galleries
and /videos
.
However, when I browse to the "baseball filtered" home page /baseball
then I'd like the photo galleries menu link to point to /photo-galleries/baseball
and the videos link to point to /videos/baseball
.
This "filtering" should follow them through out the site, so once they are on /videos/baseball
then all of the menu links should continue to have the baseball
element on them.
I'm unsure how to approach this problem and I feel like there should be an elegant way to handle this and I'm not the first person to have this problem.
I understand how to setup my various Views on the different pages so they have contextual filters and only show the content items with the baseball
tag, but my big question is about how to handle re-writing all of the URLs of the menus and the content URLs.
Help? :)