Hi Chris...
I have been trying the next and prev code for paging the products and it is hairy...
I am using one product per page with thumbnails as sections (as Adv UG) therefore my paging is actually in the sub-sections of sections.
I have had to make new Act_Primaries for Act_PrimaryWithNextPrev, Act_PrimaryWithNext and Act_PrimaryWithPrev in my sub-sections but I was wondering...
I can get the first 16 to show, with a Next pointer but when I go to the Next section (17-32) it works fine but it shows my last product (s-xxx0016) for the previous section and I want it to show (1-16).
It is working but how do I get to show my first 16 when I come into the section? Otherwise I will come into the section and only see 1-16, 17-32, 33-64 etc as products.
I suppose I will have to hard code a 1-16 link back to the first page on each main section? Or use the words "next" and "prev" instead of the sub-section names?
section: abstract
. sub-section: s-abs0001
. ....
. sub-section: s-abs0016
. sub-section: 17-32
. sub-section: s-abs0017
. ...
. sub-section: s-abs0032
. sub-section: 33-64
. sub-section: s-abs0033
. ...
. sub-section: s-abs0064
section: artists
. sub-section: s-art0001
. ....
. sub-section: s-art0016
. sub-section: 17-32
. sub-section: s-art0017
. ...
. sub-section: s-art0032
. sub-section: 33-64
. sub-section: s-art0033
. ...
. sub-section: s-art0064
etc......
Any help greatly appreciated...
Mike
I have been trying the next and prev code for paging the products and it is hairy...
I am using one product per page with thumbnails as sections (as Adv UG) therefore my paging is actually in the sub-sections of sections.
I have had to make new Act_Primaries for Act_PrimaryWithNextPrev, Act_PrimaryWithNext and Act_PrimaryWithPrev in my sub-sections but I was wondering...
I can get the first 16 to show, with a Next pointer but when I go to the Next section (17-32) it works fine but it shows my last product (s-xxx0016) for the previous section and I want it to show (1-16).
It is working but how do I get to show my first 16 when I come into the section? Otherwise I will come into the section and only see 1-16, 17-32, 33-64 etc as products.
I suppose I will have to hard code a 1-16 link back to the first page on each main section? Or use the words "next" and "prev" instead of the sub-section names?
section: abstract
. sub-section: s-abs0001
. ....
. sub-section: s-abs0016
. sub-section: 17-32
. sub-section: s-abs0017
. ...
. sub-section: s-abs0032
. sub-section: 33-64
. sub-section: s-abs0033
. ...
. sub-section: s-abs0064
section: artists
. sub-section: s-art0001
. ....
. sub-section: s-art0016
. sub-section: 17-32
. sub-section: s-art0017
. ...
. sub-section: s-art0032
. sub-section: 33-64
. sub-section: s-art0033
. ...
. sub-section: s-art0064
etc......
Any help greatly appreciated...
Mike
Comment