Back to MenuManager Support

voicixs3442
voicixs3442

i have menu in my page with multiple languages. i want in page title put translated active menu item name. No idea how to do it. for example

{{ menu.active menu.title }}

and i want to make simple breadcrumb too, and i need to capture active menu titles

plz help someone

benfreke
benfreke

Breadcrumbs are out of scope for this plugin. You can definitely create a plugin to create breadcrumbs from the menu structure, but I'm not 100% sure how you would go about that sorry. You'd start with the active item and use the .getParent (or similar method) to work your way up to the parent item in the next set.

I'm not sure how to go about updating the page title either. But as you're already on that page (in most scenarios) whose title you want to change, you don't need anything from this plugin to achieve that goal.

I think. Let me know if I've misunderstood what you're trying to achieve :)

1-2 of 2