From the docs I get the idea that hierarchy-based templates should be working. Have you tried this? http://mezzanine.jupo.org/docs/content-architecture.html#page-templates You may have found a bug if it doesn't work that way.

Assuming that doesn't work, here are other options for your consideration:

Option1: Create a template tag that optionally renders the snippet you want based on the slug of the current page, use it in base.html so it's always available. You can store all slugs that should show the login block in a setting, and have the tag read that.

Option 2: Create a page processor for all pages that checks the slug and injects a context variable to let you decide in-template if you should render the block.

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