WebCat2: Items xx to xx shown, etc.
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10328
interpreted = N
texte = Howdy, Grant. Things have been working great for the most part at theScholar's Bookshelf site; I have a few minor questions:1) You responded to this question about a month ago with the following:>If I show something like Search returned [numFound]>items matching your criteria, and my max value is 25, can I also add>Items 1 to 25 shown, so they know that they are looking at items 1-25,>and also when they hit the Show Items 26-50 link, that page should>then say Items 26 to 50 shown. Is that possible?>> Hmmm. Try putting [startAt] into the page. That should at least >> give you the 26 you are looking for. And [math][startAt]+[max][/ >> math] would give you the last one 50.That works great for all the pages but the very first one returned,whichjust says items [startAt] to shown: Is there no value for [startAt] onthe first search? And is that why it's not working? Once I clikc one ofthe Show Items xx to xx links, it works fine (Items 26 to 50 shown...)2) Occasionally, the searches are returning an error like the following(this is from the ErrorLog.db):03/21/97 23:47:12 search 198.069.210.022 Error:expected[/CONTEXT], but found [/FoundItems] [ShowNext]
Show Items[start]-[end][/ShowNext]
Howdy, Grant. Things have been working great for the most part at theScholar's Bookshelf site; I have a few minor questions:1) You responded to this question about a month ago with the following:>If I show something like Search returned [numFound]>items matching your criteria, and my max value is 25, can I also add>Items 1 to 25 shown, so they know that they are looking at items 1-25,>and also when they hit the Show Items 26-50 link, that page should>then say Items 26 to 50 shown. Is that possible?>> Hmmm. Try putting [startAt] into the page. That should at least >> give you the 26 you are looking for. And [math][startAt]+[max][/ >> math] would give you the last one 50.That works great for all the pages but the very first one returned,whichjust says items [startAt] to shown: Is there no value for [startAt] onthe first search? And is that why it's not working? Once I clikc one ofthe Show Items xx to xx links, it works fine (Items 26 to 50 shown...)2) Occasionally, the searches are returning an error like the following(this is from the ErrorLog.db):03/21/97 23:47:12 search 198.069.210.022 Error:expected[/CONTEXT], but found [/FoundItems] [shownext]Show Items[start]-[end][/ShowNext]
Gil Poulsen
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:
bug in [SendMail] (1997)
Authenticate and IIS (1997)
Poll Please (2002)
random random links (1999)
access denied problem (1997)
WebMerchant 1.6 and SHTML (1997)
WebDNA Expert Tools ... (2000)
Almost a there but..bye bye NetCloak (1997)
WebCatalog for Postcards ? (1997)
Count regular expressions in a file (2007)
Need Sample Template - just purchased (1997)
More on the email templates (1997)
WebTen Type 2 Crash on start (2000)
Exclude by date - multiple (1997)
[WebDNA] mac os for wc 6.0 (2008)
[Sum] function? (1997)
listfiles shows invisible files ... (1999)
Logging purchases (1997)
Emailer on NT! (1998)
Configuring E-mail (1997)