Difference between revisions of "Articles in Category namespace"

From Organic Design wiki
(info)
(Change source-code blocks to standard format)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
This is an example of using [[DPL:|Dynamic Page List]] to create a page that looks just like a normal category page, except that it contains the results of a DPL query. In this case the query selects all the items in the "Category" namespace. The DPL query syntax is:
 +
<source>
 
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
 
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
This is an example of using [[DPL:|Dynamic Page List]] to create a page that looks just like a normal category page, except that it contains the results of a DPL query. In this case the query selects all the items in the "Category" namespace. The DPL query syntax is:
+
</source>
<pre>
+
 
 
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
 
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
</pre>
+
[[Category:Examples]][[Category:Queries]]
[[Category:Examples]]
 

Latest revision as of 18:10, 22 May 2015

This is an example of using Dynamic Page List to create a page that looks just like a normal category page, except that it contains the results of a DPL query. In this case the query selects all the items in the "Category" namespace. The DPL query syntax is:

{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}