I have an issue with my xslt paging. On the first page it displays the max number of items but when i click on the second page 1 Image adds itself. So instead of having 12 items on the second page i have 13 items.
Item 13 repeats istelf on the third page as well. Any idea why am getting this?
Paging in Media Section
I have an issue with my xslt paging. On the first page it displays the max number of items but when i click on the second page 1 Image adds itself. So instead of having 12 items on the second page i have 13 items.
Item 13 repeats istelf on the third page as well. Any idea why am getting this?
First Page am Getting the right output that is :12
Second Page getting : 13 where the last image on page 1 repeats itself on the second page
The same issue applies to the other pages. Any thought on this please?
Hi Fuji,
Two small changes will fix that:
1. The $jump variable should be set to point to the first item of the "next" page, so add one to it:
2. Use less-than instead of less-than-equal-to in the test:
3. There is no step 3 :-)
/Chriztian
Hi Chriztian,
Thanks for the help. Works perfectly.
is working on a reply...