Difference between revisions of "Issue:Child DPL doesn't works"

From FollowTheScore
Jump to: navigation, search
(Problem)
Line 30: Line 30:
  
 
== Reply ==
 
== Reply ==
 +
 +
This is not a bug. If you want to nest DPL queries you must use parser function syntax. Be careful to read the manual. To embed angle brackets you must use 'double angle brackets'.
 +
 +
There are dpl scripts on this website which demonstrate how to produce result lists for nested categories, see [[Test_category_hierarchy]].
 +
 +
:[[User:Gero|Gero]] 23:50, 13 March 2008 (CET)

Revision as of 23:50, 13 March 2008

Description: Child tag

Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

doesn't work
Extension / Version: DPL   /   1.6.8
Type / Status: Bug   /   open

Problem

 <DPL>
  category=Главная
  userdateformat = d.m.Y
  ordermethod = lastedit
  order = descending
  addeditdate = true
  count=5
  format=<ul>,<li>[[%TITLE%]],<DPL>\ncategory=%TITLE%\nuserdateformat = d.m.Y\nordermethod = lastedit\norder = descending\naddeditdate = true\ncount=5\n</DPL></li>,</ul>
 </DPL>

Result:

 <ul><li><a href="/wiki/index.php?title=Test1&action=edit" class="new" title="Test1">Test1</a></ul>
 <p> & l t ; /li & g t ;, & l t ;/ul & g t;
 & l t ;/DPL & g t;
bad result :( First
</DPL>
closes all
<DPL>
tags

Reply

This is not a bug. If you want to nest DPL queries you must use parser function syntax. Be careful to read the manual. To embed angle brackets you must use 'double angle brackets'.

There are dpl scripts on this website which demonstrate how to produce result lists for nested categories, see Test_category_hierarchy.

Gero 23:50, 13 March 2008 (CET)