Yep. the {% page_menu %} is proving too smart than my liking.

For example taken from mezzanine docs:
    {% load pages_tags %}
        <ul>
        {% for page in page_branch %}
        <li>
            <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
            {% page_menu page %}
        </li>
        {% endfor %}
        </ul>
    <div class="divider"></div>


the {% page_menu %}, from my observation, does this:

   - Looks up one step to the most immediate parent element, specifically 
   uls? (please correct me if I'm wrong on this behavior).
   - Copies every class, id etc values on it
   - Applies them all to itself,
   - Then renders its own content in <li>s 

I understand this works cleanly for the native boostrap css it comes with, 
in which applying the immediate parent element attributes doesn't really 
change anything. But since that's not how all css frameworks work, thus:

   1. Is there a way I could let {% page_menu %} to give me only, and only 
   the list of sub_menu items, unstyled, without any strings attached ?
   2. Otherwise, is there a way to get submenu items without using the {% 
   page_menu %} tag? I couldn't figure that out anywhere

All the examples in the pages/menus/* uses the bootstraptized-magical {% 
page_menu %} tag.

Help is much appreciated. 
thanks

-- 
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.

Reply via email to