Author: batiste.bieler
Date: Sat Jun 27 04:57:33 2009
New Revision: 589
Modified:
wiki/DisplayContentInTemplates.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/DisplayContentInTemplates.wiki
==============================================================================
--- wiki/DisplayContentInTemplates.wiki (original)
+++ wiki/DisplayContentInTemplates.wiki Sat Jun 27 04:57:33 2009
@@ -1,6 +1,10 @@
#summary How to display page content in your templates
-Django page CMS provide several, ready to use, template tags
+Django page CMS provide several, ready to use, template tags. To load
these tags you must load them first:
+
+{{{
+{% load pages_tags %}
+}}}
==get_content==
@@ -42,4 +46,23 @@
{{{
{% show_absolute_url "my-page-slug" %}
+}}}
+
+
+==page_menu==
+
+Render a navigation nested list of all children of the given page
+
+{{{
+{% pages_menu page %}
+}}}
+
+You can override the template `pages/menu.html` if you need more control
on the rendering of these menus.
+
+==page_sub_menu==
+
+Get the root page (the highest in the hierarchy) of the given page and
render a navigation nested list of all root's children pages. This is
typically used for a section menu that is always open.
+
+{{{
+{% pages_sub_menu page %}
}}}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---