Difference between revisions of "Talk:DPL Example 027"

From FollowTheScore
Jump to: navigation, search
(TOTALPAGES = 1)
Line 7: Line 7:
 
==TOTALPAGES = 1==
 
==TOTALPAGES = 1==
 
%TOTALPAGES% always returns 1 in the header or footer for me. I guess you fixed it already sinec it's working here and I use the latest 1.8.6. --[[User:Subfader|Subfader]] 06:15, 6 July 2009 (UTC)
 
%TOTALPAGES% always returns 1 in the header or footer for me. I guess you fixed it already sinec it's working here and I use the latest 1.8.6. --[[User:Subfader|Subfader]] 06:15, 6 July 2009 (UTC)
 +
 +
:The dpldemo website runs exactly the version that is in the DOWNLOAD area.
 +
:%TOTALPAGES% is only calculated if needed (use debug=3 to see the SQL statement) as it may cost additional CPU load. DPL checks if %TOTALPAGES% is used within header or footer. Maybe there is aproblem with that code...
 +
:Where exactly do you get the "1" for %TOTALPAGES% ?

Revision as of 07:45, 6 July 2009

Offset + 1 on next page

The next page lists the last of the previous on top. This looks wrong. No need to reply if this is part of the super-light strategy, but it makes count = 1 impossible. ;) --Subfader 20:57, 5 July 2009 (UTC)

urlencode

From at least MW 1.14 it is {{urlencode: not {{#urlencode: --Subfader 21:08, 5 July 2009 (UTC)

TOTALPAGES = 1

%TOTALPAGES% always returns 1 in the header or footer for me. I guess you fixed it already sinec it's working here and I use the latest 1.8.6. --Subfader 06:15, 6 July 2009 (UTC)

The dpldemo website runs exactly the version that is in the DOWNLOAD area.
%TOTALPAGES% is only calculated if needed (use debug=3 to see the SQL statement) as it may cost additional CPU load. DPL checks if %TOTALPAGES% is used within header or footer. Maybe there is aproblem with that code...
Where exactly do you get the "1" for %TOTALPAGES% ?