Author: batiste.bieler
Date: Fri Jun 26 00:35:46 2009
New Revision: 588
Modified:
wiki/DisplayContentInTemplates.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/DisplayContentInTemplates.wiki
==============================================================================
--- wiki/DisplayContentInTemplates.wiki (original)
+++ wiki/DisplayContentInTemplates.wiki Fri Jun 26 00:35:46 2009
@@ -7,7 +7,7 @@
Store a content type from a page into a context variable that you can
reuse after.
{{{
-{% get_content page_object "title" as content %}
+{% get_content current_page "title" as content %}
}}}
You can also use the slug of a page
@@ -21,7 +21,7 @@
Output the content of a page directly within the template.
{{{
-{% show_content page_object "title" %}
+{% show_content current_page "title" %}
}}}
You can also use the slug of a page
@@ -35,7 +35,7 @@
Show the absolute url of a page in the right language
{{{
-{% show_absolute_url page_object %}
+{% show_absolute_url current_page %}
}}}
Like the other template tags you can use the slug of a 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
-~----------~----~----~----~------~----~------~--~---