Difference between revisions of "DPL Example 020"

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
 
This is an improved version of result page scrolling. The example uses the header AND the footer to show links for scrolling; of course one of them may be enough in many cases.  
 
This is an improved version of result page scrolling. The example uses the header AND the footer to show links for scrolling; of course one of them may be enough in many cases.  
  
Due to some configuration problems with the web server the example DOES NOT YET WORK CORRECTLY.
 
 
 
<pre><nowiki>
 
 
{{#dpl:
 
{{#dpl:
 
  |namespace=
 
  |namespace=
Line 13: Line 9:
 
  |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}²
 
  |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}²
 
}}
 
}}
</nowiki></pre>
 
  
 +
<pre><nowiki>
 
{{#dpl:
 
{{#dpl:
 
  |namespace=
 
  |namespace=
Line 23: Line 19:
 
  |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}²
 
  |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}²
 
}}
 
}}
 +
</nowiki></pre>

Revision as of 20:56, 26 May 2009

This is an improved version of result page scrolling. The example uses the header AND the footer to show links for scrolling; of course one of them may be enough in many cases.

Template:DPL scrollTemplate:DPL scroll
{{#dpl:
 |namespace=
 |titlematch=C%
 |count=10
 |offset=%DPL_offset%
 |resultsheader=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}²
 |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}²
}}