Is it possible to set a hereTpl status for an other page?
for example.
When user is at page 2, I want that page 1 is active.
I don’t want to place page 2 als a child from page 1.
I have thought about it and i think it’s not possible. Am i right?
-
☆ A M B ☆
- 24,524 Posts
It rather defeats the purpose of a "here" or "active" or "current" class. Are you trying to implement a "breadcrumb" trail type of thing, including the "Home" page at the beginning? If so, you might want to look at the Breadcrumb snippet.
No. I have a news page with ditto. And a newspage container with all the news pages.
But i don’t want to put the newspage container als a child of news page. I want to set it in the menu tree as a parent. And than set the document as "dont show in menu".
-
☆ A M B ☆
- 24,524 Posts
How about putting a weblink in your newspage container, filtering it out of your Ditto call?
than i would have 2 pages to update.
What i have now:
HOME
ABOUT
NEWS --> ditto call to News_container
CONTACT
NEWS_CONTAINER
---NEWS1
---NEWS2
Creating a weblink doesn’t fix the issue.
There isn’t a way to make NEWS active, while being in the NEWS1 page?
The only way is to put it als a child in News?
-
☆ A M B ☆
- 24,524 Posts
How about having the News-Container be a child of News as well as being unpublished? Even if an intervening parent is unpublished (or set to not show in the menu) Wayfinder will add the "active" class to the ultimate parent.
yes, but the problem is that i have a arrow next to all the menu items with an submenu.
If i set the news_container as a child of news, the news menu item gets an arrow, even though it hasn’t got a submenu.