Difference between revisions of "DPL talk:Manual - DPL parameters: Criteria for page selection"
(New section: Magic words) |
|||
Line 3: | Line 3: | ||
== Reply == | == Reply == | ||
Use [[format]]. Thus you can customize your output completely. [[User:Gero|Gero]] 23:48, 12 May 2008 (CEST) | Use [[format]]. Thus you can customize your output completely. [[User:Gero|Gero]] 23:48, 12 May 2008 (CEST) | ||
+ | |||
+ | == Magic words == | ||
+ | |||
+ | is it possible to pass a magic word as a variable for a criteria so that a dpl table can be reused in a template? | ||
+ | |||
+ | i.e. i want to pass it {{PAGENAME}} rather than hardwiring the actual pagename and having to put the dpl code on every page. is this possible? so far i am getting: %DPL-1.7.4-ERROR: Wrong '$0' parameter: 'linksfrom'! Help: $0= full pagename. |
Revision as of 13:22, 19 May 2008
I'm using the DPL parameter "firstrevisionsince=dateandoptionaltime" , to display articles after 20080430. One results is as follows: 23:57, 2 May 2008 : Insurance Programs . . JSmith --- I would like for the end result to be: Insurance Programs --Displaying only the article and removing the timestamp and the editor's name. How can I turn the timestamp/editor results off?
Reply
Use format. Thus you can customize your output completely. Gero 23:48, 12 May 2008 (CEST)
Magic words
is it possible to pass a magic word as a variable for a criteria so that a dpl table can be reused in a template?
i.e. i want to pass it Manual - DPL parameters: Criteria for page selection rather than hardwiring the actual pagename and having to put the dpl code on every page. is this possible? so far i am getting: %DPL-1.7.4-ERROR: Wrong '$0' parameter: 'linksfrom'! Help: $0= full pagename.