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 the Scholar'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, which just says items [startAt] to shown: Is there no value for [startAt] on the first search? And is that why it's not working? Once I clikc one of the 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]



    
  1. Re: WebCat2: Items xx to xx shown, etc. (Kenneth Grome 1997)
  2. Re: WebCat2: Items xx to xx shown, etc. (Gil Poulsen 1997)
  3. Re: WebCat2: Items xx to xx shown, etc. (Grant Hulbert 1997)
  4. Re: WebCat2: Items xx to xx shown, etc. (Grant Hulbert 1997)
  5. WebCat2: Items xx to xx shown, etc. (Gil Poulsen 1997)
Howdy, Grant. Things have been working great for the most part at the Scholar'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, which just says items [startAt] to shown: Is there no value for [startAt] on the first search? And is that why it's not working? Once I clikc one of the 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:

[WebDNA] WebDNA 7 (2011) SMSI: WebDNA Versions? (2002) WebDNA 4.5 not starting on boot? (2002) syntax question, not in online refernce (1997) Nested tags count question (1997) Empty fields delete-able? (2000) Trunk-gator (1997) Still More on EudoraPro Email (1998) WebCat 3.0.8 (2000) Search 1 Field Twice? (2004) Help with nested search (1998) Not really WebCat - need HTML Grider (1997) Math with Time (1997) AppleScript question (1997) Using Plug-In while running 1.6.1 (1997) [OT] javascript field validation with encoded forms (2004) [BoldWords] WebCat.acgib15Mac (1997) Searchable archives gone again??? (2000) more remote admin questions (1998) Need relative path explanation (1997)