It should show. I just tested it and it did not show for me as well so there may be a bug.
Maybe this will get more attention in the Ditto sub form (I will try to move).
I can see no placeholder named [+current+], there is only one called [+currentPage+] :
} else {
$modx->setPlaceholder($dittoID."currentPage", $display);
$pages .= $this->template->replace(array('page'=>$display),$tplPaginateCurrentPage);
}
}
$modx->setPlaceholder($dittoID."next", $nextplaceholder);
$modx->setPlaceholder($dittoID."previous", $previousplaceholder);
$modx->setPlaceholder($dittoID."splitter", $split);
$modx->setPlaceholder($dittoID."start", $start +1);
$modx->setPlaceholder($dittoID."urlStart", $start);
$modx->setPlaceholder($dittoID."stop", $limiter);
$modx->setPlaceholder($dittoID."total", $total);
$modx->setPlaceholder($dittoID."pages", $pages);
$modx->setPlaceholder($dittoID."perPage", $summarize);
$modx->setPlaceholder($dittoID."totalPages", $totalpages);
$modx->setPlaceholder($dittoID."ditto_pagination_set", true);
Thanks very much it now working!!!
Just a note, might be worth changing the Wiki entry as this is where i got the incorrect info?
-
MODX Staff
- 12,272 Posts
Yes it would be worth correcting any bad entries on the wiki ... please do so!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me