Random viewing of listings resetting on each viewer refresh
3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 29, 2009 (RSS)
By Codee - October 28, 2009
I have a client that wants the inventory records to display in random order, 7 per page, creating prev/next links. No problem using the code generator and doing this - that part's awesome and easy.
The challenge is that when there are next and previous pages of records on the list viewer page, when a website visitor clicks "next" or "previous" ALL the records reshuffle so there's no true next page because the same ads can appear on multiple pages this way. So if there's 100 records listed you could theoretically go through 10,000 views to see all of them one time...because the random listing regenerates each time the list viewer appears in a browser.
How can we have the ads to a visitor generate a random list of all records, during a single visitor session, with next and prev links but keep the listings static for that section so that if there are 77 records they can use next button 11 times to see all the recores only once, at 7 per page?
[crazy]
The challenge is that when there are next and previous pages of records on the list viewer page, when a website visitor clicks "next" or "previous" ALL the records reshuffle so there's no true next page because the same ads can appear on multiple pages this way. So if there's 100 records listed you could theoretically go through 10,000 views to see all of them one time...because the random listing regenerates each time the list viewer appears in a browser.
How can we have the ads to a visitor generate a random list of all records, during a single visitor session, with next and prev links but keep the listings static for that section so that if there are 77 records they can use next button 11 times to see all the recores only once, at 7 per page?
[crazy]
Re: [equinox69] Random viewing of listings resetting on each viewer refresh
By zip222 - October 29, 2009
I don't know the solution to this problem, but here is a post and a solution to a very similar issue....
http://www.interactivetools.com/iforum/Products_C2/gforum.cgi?post=72085
http://www.interactivetools.com/iforum/Products_C2/gforum.cgi?post=72085
Re: [jdancisin] Random viewing of listings resetting on each viewer refresh
By Codee - October 29, 2009
JDancisin,
THANKS for that redirect post! That was exactly what we needed for the client. I had searched the forums under a variety of similar keywords but found nothing - so thank you very much.
THANKS for that redirect post! That was exactly what we needed for the client. I had searched the forums under a variety of similar keywords but found nothing - so thank you very much.