I am building a site with two sections for the menus. The first 6 pages in one area and the rest in another. All of these are top level pages and some will have children. The second wayfinder call outputs nothing. I have tried using different startId’s but anything other than 0 outputs nothing. Any idea’s on how I can get this working?
Here are my wayfinder calls:
<div class="top_level_links">
[[Wayfinder? &startId=`0` &outerTpl=`menuContainer` &rowTpl=`menuRows` &level=`1` &limit=`6`]]
</div>
<div class="logo">
{{Logo}}
</div>
<div class="sub_header">
<div class="sub_links_home">
[[Wayfinder? &startId=`9` &outerTpl=`menuContainer` &rowTpl=`menuRows` &level=`1`]]
An update on this, I worked around by setting the 2nd startID to 0 and using &excludeDocs to exclude the first 6.
-
☆ A M B ☆
- 24,524 Posts
Another way to do what you want is to use the "showHidden" parameter of Wayfinder and the Show in Menu option of your top-level documents.
For the first six documents, clear their Show in Menu checkbox.
Now the first Wayfinder call can use the showHidden parameter to go ahead and show them anyway, while the limit parameter will show only the first six.
The second Wayfinder call now won’t show those first six.
That’s a good way aroung Susan, unfortunately I already had the homepage hidden from this menu and didn’t want the ’home’ link shown on the homepage.
Thank you for your response.
@k Thanks for the info!