Re: ShowNext
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14288
interpreted = N
texte = >I am very confused by the ShowNext command. I have used the templates for the>General Store. If the catalog has more than 150 items and I limit the display>to 50 per page, users never get a chance to browse items about 150.>>I would appreciate someone taking the example on page 100 of the 2.01 Manual>and posting exactly how this would work with the General Store's Search.tmpl>page.1- Add &max=50 to the all the searches leading to your results page.2- If there are any startat= parameters in your searches, take them out.3- Replace the [shownext] stuff on your results page with this:[shownext][showif [start]=[startat]-50]
ShowPrevious Group [/showif][showif [index]=1]
Show NextGroup [/showif][/shownext]3- If this works, let me know, because I haven't tested it ...Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>I am very confused by the ShowNext command. I have used the templates for the>General Store. If the catalog has more than 150 items and I limit the display>to 50 per page, users never get a chance to browse items about 150.>>I would appreciate someone taking the example on page 100 of the 2.01 Manual>and posting exactly how this would work with the General Store's Search.tmpl>page.1- Add &max=50 to the all the searches leading to your results page.2- If there are any startat= parameters in your searches, take them out.3- Replace the
[shownext] stuff on your results page with this:
[shownext][showif [start]=[startat]-50]
[thisurl]$search?[searchstring]&startat=[start]-50>ShowPrevious Group [/showif][showif [index]=1]
[thisurl]$search?[searchstring]&startat=[start]>Show NextGroup [/showif][/shownext]3- If this works, let me know, because I haven't tested it ...Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.smithmicro.com/webdnasolutions/.
Kenneth Grome
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:
Y2k compliance (1998)
Nested vs conditional (1997)
Frames and WebCat (1997)
rotating thumbnails (1997)
Search as error page (2002)
WebCat2b12 - New features for 1.6 users ... (1997)
Fun with Dates - revisited (1997)
Re1000001: Setting up shop (1997)
OT: Real time Stats (2003)
WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997)
Plugin or CGI or both (1997)
TEXTA-D (2003)
2.0Beta Command Ref (can't find this instruction) (1997)
Customer login feature (2004)
2 databases problem (1997)
Re:Running 2 two WebCatalog.acgi's (1996)
Post size Limit? (1998)
Wanted: Broader string manipulation functions (1997)
form validator issue (2005)
Storebuilder Problems...Looking for last minute heroic (2004)