Shownext and Jumping between pages
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33286
interpreted = N
texte = Need a little help. I am performing a search against apretty large database. I am returning results 100 toa page and providing a link to jump between pages of100 items with this:[ShowIF [NumFound]>100]
Showing Orders
[ShowNext position=middle&max=100] [start]-[end] [/shownext][/ShowIF] [ShowIF [NumFound]>100] Jump to page: [ShowNext position=begin&max=100] [math]ceil([end]/100)[/math] [/shownext] [ShowNext position=middle] [math]ceil([end]/100)[/math] [HideIF[NumFound]=[end]][/HideIF] [/shownext] [ShowNext position=end&max=100] [math]ceil([end]/100)[/math][HideIF [NumFound]=[end]][/HideIF] [/shownext] [/ShowIF]Problem is this only works when the total number ofitems found in the search is under about 500. Whenmore than 500 are found, the page only provides linksto pages 1,2,3 and 4. Any ideas or suggestions wouldbe greatly appreciated.Thanks!Jeff__________________________________________________Do You Yahoo!?Send instant messages with Yahoo! Messenger.http://im.yahoo.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Need a little help. I am performing a search against apretty large database. I am returning results 100 toa page and providing a link to jump between pages of100 items with this:[ShowIF [NumFound]>100]
Showing Orders[ShowNext position=middle&max=100] [start]-[end] [/shownext][/ShowIF] [ShowIF [NumFound]>100] Jump to page: [ShowNext position=begin&max=100] [math]ceil([end]/100)[/math] [/shownext] [ShowNext position=middle] [math]ceil([end]/100)[/math] [HideIF[NumFound]=[end]][/HideIF] [/shownext] [ShowNext position=end&max=100] [math]ceil([end]/100)[/math][HideIF [NumFound]=[end]][/HideIF] [/shownext] [/ShowIF]Problem is this only works when the total number ofitems found in the search is under about 500. Whenmore than 500 are found, the page only provides linksto pages 1,2,3 and 4. Any ideas or suggestions wouldbe greatly appreciated.Thanks!Jeff__________________________________________________Do You Yahoo!?Send instant messages with Yahoo! Messenger.http://im.yahoo.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jeff Grady
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Incrementing a number (1998)
can WC render sites out? (1997)
PCS Frames (1997)
Emailer setup (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Snake Bites (1997)
date pref (1999)
Cookies not setting on IE (2002)
RAM variables (1997)
No Wanna Duppys (1998)
RE: NewCart+Search with one click ? (1997)
Cleaner URLs (2003)
Blank orders after update to 5.1 (2004)
WebCat2: Items xx to xx shown, etc. (1997)
website hosters using webcat? (1999)
Weird Cookie Problem - your answer (2007)
California Tax Rates (1998)
attachment (2000)
Credit card processing - UK (1997)
Newbie problem blah blah blah (1997)