Difference between revisions of "Talk:DPL Example 020"

From FollowTheScore
Jump to: navigation, search
m
Line 34: Line 34:
 
</pre>
 
</pre>
 
:The templates are the same as here. Those can't be the problem. I deleted the first and still it works if I just add the first example code above the second. --[[User:Subfader|Subfader]] 05:41, 6 July 2009 (UTC)
 
:The templates are the same as here. Those can't be the problem. I deleted the first and still it works if I just add the first example code above the second. --[[User:Subfader|Subfader]] 05:41, 6 July 2009 (UTC)
::Is the example working on the [[DPL Example 020]] page on this server? When I click the "6..10" link, I expect it to turn black and get links for "1..5" and "11..15" but nothing is happening. The [[DPL Example 027]] works perfectly, though.--[[User:Volts|Volts]] 15:42, 3 August 2009 (UTC)
+
 
:::Huh?? It works as desired. --[[User:Subfader|Subfader]] 17:26, 3 August 2009 (UTC)
+
==Links==
 +
Is the example working on the [[DPL Example 020]] page on this server? When I click the "6..10" link, I expect it to turn black and get links for "1..5" and "11..15" but nothing is happening. The [[DPL Example 027]] works perfectly, though.--[[User:Volts|Volts]] 15:42, 3 August 2009 (UTC)
 +
 
 +
:Huh?? It works as desired. --[[User:Subfader|Subfader]] 17:26, 3 August 2009 (UTC)

Revision as of 18:26, 3 August 2009

Can't get it working

It's odd but when I try to add this on a page on my wiki the navi doesn't show up. Only if I add DPL Example 027 above it. I have the Variables extension installed though. :O --Subfader 21:44, 5 July 2009 (UTC)

I don't get it. The navi links only show up with DPL Example 027 being added before (even in a hidden div) but not alone??
Works:
<div style="display:none">
{{#dpl:
| namespace     = 
| category      = Test
| count         = {%DPL_count:25%}
| resultsheader      = ²{DPLnavi¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
| resultsfooter      = ²{DPLnavi¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
}}
</div>

{{#dpl:
| namespace     = 
| category      = Test
| count         = {%DPL_count:20%}
| resultsheader      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
| resultsfooter      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
}}
Doesn't work:
{{#dpl:
| namespace     = 
| category      = Test
| count         = {%DPL_count:20%}
| resultsheader      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
| resultsfooter      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
}}
The templates are the same as here. Those can't be the problem. I deleted the first and still it works if I just add the first example code above the second. --Subfader 05:41, 6 July 2009 (UTC)

Links

Is the example working on the DPL Example 020 page on this server? When I click the "6..10" link, I expect it to turn black and get links for "1..5" and "11..15" but nothing is happening. The DPL Example 027 works perfectly, though.--Volts 15:42, 3 August 2009 (UTC)

Huh?? It works as desired. --Subfader 17:26, 3 August 2009 (UTC)