Difference between revisions of "Extension DPL"
From FollowTheScore
(→How to show template parameters) |
|||
Line 11: | Line 11: | ||
* Add meta data (hit count) and apply individual formatting to the fields [[DPL Example 003]] | * 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]] | * change the sequence of fields and apply a nested DPL within a phantom template [[DPL Example 004]] | ||
+ | |||
+ | == List articles depending on category == | ||
+ | |||
+ | * Create a list of articles belonging to a certain category [[DPL Example 005]] | ||
+ | * Create a list of articles belonging or not belonging to certain categories [[DPL Example 006]] | ||
+ | * List articles belonging to subcategories [[DPL Example 007]] |
Revision as of 13:07, 9 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
- Create a list of articles belonging to a certain category DPL Example 005
- Create a list of articles belonging or not belonging to certain categories DPL Example 006
- List articles belonging to subcategories DPL Example 007