Difference between revisions of "Articles in Category namespace"

From Organic Design wiki
m
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:
 
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:
<pre>
+
{{code|<pre>{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}</pre>}}
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
+
 
</pre>
 
 
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
 
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
 
[[Category:Examples]][[Category:Queries]]
 
[[Category:Examples]][[Category:Queries]]

Revision as of 22:53, 18 November 2014

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