ive had a look at this, and its pretty useless! You can't copy and paste the code as it has wrong characters all over the place. I have typed it out manually with no success. This section in particular is a load of crap:
<xsl:iftest=”position() > $recordsPerPage * number($pageNumber) and
The issue that you have with copying and pasting is down to character encoding (the quote marks and hyphens are different), a quick search and replace on the offending characters in your text editor can resolve that though :)
There is more discussion in the forum related to paging that you may find helpful:
XSLT Paging: Getting started
Hi all,
I have some great lists created using XSLT in Umbraco, all I need now is some cool paging.
Does anyone have any suggestions or links demonstrating how to implement paging into my XSLT files?
Thanks!
Louis
Have a look at:
http://www.nibble.be/?p=11
Hi,
ive had a look at this, and its pretty useless! You can't copy and paste the code as it has wrong characters all over the place. I have typed it out manually with no success. This section in particular is a load of crap:
$recordsPerPage )">
The issue that you have with copying and pasting is down to character encoding (the quote marks and hyphens are different), a quick search and replace on the offending characters in your text editor can resolve that though :)
There is more discussion in the forum related to paging that you may find helpful:
http://our.umbraco.org/forum/developers/xslt/1601-xslt-paging
and
http://forum.umbraco.org/yaf_postsm38185_Flexible-XSLT-Paging-and-Sorting-Example.aspx
The latter is based on the example code that you had issues with from the previous link
They are great links! Perfect! Thanks very much Jon!
My vote for the easiest and best approach to paging would be Chriztian's _PaginationHelper.xslt.
Yeah, but is that only for a straight list? I have my list broken up into groups for month and year. I'm not seeing yet how to deal with that.
is working on a reply...