[pmwiki-users] totalcounter vars??
adam overton
a at plus1plus1plus.org
Thu Jul 17 20:44:22 CDT 2008
hi there
totalcounter's variables {$PageCount} and {$PageView} aren't working
for me as i expect them to. i'm wondering what's up... i didn't see
any mention of similar issues on the Talk page... here's what's up:
on a page, ALL of these end up spitting out the same exact value --
for the present page:
thispageCount: {$PageCount}
thispageViews: {$PageViews}
FAQ: {Main.FAQ$PageCount} - same thispage
IndexCount: {Main.Index$PageCount} - same thispage
IndexViews: {Main.Index$PageViews} - same thispage
and actually, this is only after changing the following in the
totalcounter.php:
//Markup('{$PageCount}', '<{$var}', '/\\{\\$PageCount\\}/e',
$PageCount);
to
$FmtPV['$PageCount'] = "'$PageCount'";
otherwise, {Main.FAQ$PageCount} & {Main.Index$PageCount} don't print
out anything...
anyone else have these issues, or a way to work around them? the idea
is to be able to access the current count of pages that you're not
currently viewing.
thanks!
adam
. . .
a at plus1plus1plus.org
661 373 8679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080717/0c02b294/attachment.html
More information about the pmwiki-users
mailing list