Author: batiste.bieler
Date: Wed Mar 25 10:49:05 2009
New Revision: 415

Modified:
    wiki/DisplayContentInTemplate.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/DisplayContentInTemplate.wiki
==============================================================================
--- wiki/DisplayContentInTemplate.wiki  (original)
+++ wiki/DisplayContentInTemplate.wiki  Wed Mar 25 10:49:05 2009
@@ -1,6 +1,8 @@
  #summary How to display page content in your templates

-==get_content template tag==
+Django page CMS provide several, ready to use, template tags
+
+==get_content==

  Store a content type from a page into a context variable that you can  
reuse after.

@@ -14,7 +16,7 @@
      {% get_content "my-page-slug" "title" as content %}
  }}}

-==show_content template tag==
+==show_content==

  Output the content of a page directly within the template.

@@ -26,4 +28,18 @@

  {{{
      {% show_content "my-page-slug" "title" %}
+}}}
+
+==show_absolute_url==
+
+Show the absolute url of a page in the right language
+
+{{{
+{% show_absolute_url page_object %}
+}}}
+
+Like the other template tags you can use the slug of a page
+
+{{{
+{% show_absolute_url "my-page-slug" %}
  }}}

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

Reply via email to