Hi i'm lost..
I want to show the modular menu on a non-modular page
The file structure is
- 01.home
_module1
_module2
- page1
- page2
on the pages (page1, page2) i want to show the menu to get back to _module1, _module2
If have set onpage_menu: true so on the modular-page i see the navigation menu
module1 module2
but not on the pages. So i cant go back over the navigation menu
{% if not page.home() %}
{% for page in pages.children %}
{% for module in page.collection() %}
<li class="nav-item"><a href="#{{ _self.pageLinkName(module.menu) }}" class="nav-link">{{ module.menu }}</a></li>
{% endfor %}
{% endfor %}
{% endif %}
brings me near but the URL is:
http://example.com/page1#
How can i get rid of the page1 in the URL and get the modules so that the link is
http://example.com/#module1
Can somebody give me a hint how to do this
/forum/archive/acces-modular-parent-from-modular-t1067
and other things i tried didn't help me
Thanks in advance!