Hello,
I want to make it so that the pages in the left-hand tree only show
children and siblings of the top parent. so if I have:
about
about/blog
about/our story
contact us
contact us/partnership
contact us/legal
when I click on about it only shows the our story and blog.
I was looking through the config settings and see the configuration:
PAGES_MENU_SHOW_ALL
and it says: """
If True, the left-hand tree template for the pages menu will show all
levels of navigation, otherwise child pages are only shown when viewing
the parent page.
Default: True
"""
I set it to false, but don't see any change. I restarted the server and
everything. Here is what my defaults.py looks like:
my_theme/defaults.py
from mezzanine.conf import register_setting
register_setting('PAGES_MENU_SHOW_ALL', default=False)
What am I doing wrong? Because PAGES_MENU_SHOW_ALL=False seems to be
exactly what I want!
thanks,
--
Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>
--
You received this message because you are subscribed to the Google Groups "Mezzanine
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.