Difference between revisions of "Articles in Category namespace"

From Organic Design wiki
(Change source-code blocks to standard format)
 
(4 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}}
[[Category:Examples]]
+
</source>
 +
 
 +
{{#dpl:namespace=Category|mode=category|ordermethod=titlewithoutnamespace|shownamespace=false}}
 +
[[Category:Examples]][[Category:Queries]]

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