Hey all,
I'm using programatically generated page collections throughout a site I'm working on to handle some slightly more complex navigation needs. So all the menus are generated using something like:
{% set a = { items: '@root.children.visible', 'order': {'by': 'default', 'dir': 'asc'}, 'pagination': false } %}
{% set main_pages = page.collection(a) %}
The problem is that on any page where there's a taxonomy filter in the URL (eg the blog archive page), my navigation is also filtered - so the navigation disappears!
Seems like a simple problem - but I can't seem to find any way of getting page collections to ignore taxonomy in the URL?!
I've searched through the page collection documentation, and the forums but can't seem to find an answer.
Thanks!
Andrew