Difference between revisions of "Extension DPL"

From FollowTheScore
Jump to: navigation, search
(How to show template parameters)
Line 17: Line 17:
 
* Create a list of articles belonging or not belonging to certain categories [[DPL Example 006]]
 
* Create a list of articles belonging or not belonging to certain categories [[DPL Example 006]]
 
* List articles belonging to subcategories [[DPL Example 007]]
 
* List articles belonging to subcategories [[DPL Example 007]]
 +
 +
== Tree output ==
 +
 +
* category tree [[DPL Example 008]]

Revision as of 07:23, 11 March 2009

I put a lot of effort into the manual - so please read!

Nevertheless, most of us are inspired by examples. When you are looking for a fast solution to a specific problem it may be quite hard to find out if DPL can do the job. But if you see how a similar problem was solved it may be quite easy to adapt the solution to your needs. And eventually you will have a look into the manual, I hope ;-)

How to select articles

How to show template parameters

  • Create a table of articles where the columns show parameter values of template calls DPL Example 001
  • Make that table sortable and define a headline for the first column DPL Example 002
  • Add meta data (hit count) and apply individual formatting to the fields DPL Example 003
  • change the sequence of fields and apply a nested DPL within a phantom template DPL Example 004

List articles depending on category

Tree output