Re: NumFound
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25201
interpreted = N
texte = > I have a template to see the results of a search like:> > [search]> [shownext]
[/shownext]> [numFound] items found> [founditems]> [showif]> [/showif]> [/founditems]> [shownext] bla bla [/shownext]> [/search]> > The problem is: The NumFound is not equal to the items displayed. It> found 2 for example and because the showif it show only one, but the line> said 2 items found.> > I know I need to do another [founditems] context after the [search] and a> [math] routine to found the amount of items displayed, but I don't know> how to do it.> I'm using webCat 2.1.3I may be missing something here since some of it's a little vague, but Iwould recommend that you use max in the search context and set it to 1 soyou can get rid of the showif.Please explain what you're using the showif for if this doesn't help, also Iwould look at making your search context handle the requirements of theshowif.-Jason Tylerwww.3ip.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
> I have a template to see the results of a search like:> > [search]> [shownext] [/shownext]> [numFound] items found> [founditems]> [showif]> [/showif]> [/founditems]> [shownext] bla bla [/shownext]> [/search]> > The problem is: The NumFound is not equal to the items displayed. It> found 2 for example and because the showif it show only one, but the line> said 2 items found.> > I know I need to do another [founditems] context after the [search] and a> [math] routine to found the amount of items displayed, but I don't know> how to do it.> I'm using webCat 2.1.3I may be missing something here since some of it's a little vague, but Iwould recommend that you use max in the search context and set it to 1 soyou can get rid of the showif.Please explain what you're using the showif for if this doesn't help, also Iwould look at making your search context handle the requirements of theshowif.-Jason Tylerwww.3ip.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Jason Tyler
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:
WebDelivery downloads alias, not original ? (1997)
Unexpected error (1997)
Not Authorized (2000)
Banners (1997)
WebCatalog 4.0 Users that want to talk to the Media.... (2000)
WebCatalog2 Feature Feedback (1996)
WebDNA on OS X Tiger (2006)
XML Parse with XML WebDNA Syntax... (2004)
[WebDNA] ImageMagick code (2013)
WebCat2b12plugin - [search] is broken ... not! (1997)
The List is Changing (1997)
Field Contents Raw (1999)
Text data with spaces in them... (1997)
Electronic Delivery (1997)
Using [Include] Context (1999)
[WebDNA] MacOS 10.5 instal/config. I'm drowning. ...just needs to work for LOCAL one person (2008)
A dynamic database. (1997)
Lost Serial Number (2004)
HELP WITH DATES (1997)
Re2: frames & carts (1997)