Re: [showif [numfound]=0]?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33261
interpreted = N
texte = I think your problem is that your logis is a bit screwy... here's the outline I would use...[search......][showif [numfound]=0] there are no matches[/showif][showif [numfound]!0] [founditems] blah blah blah [/founditems] [shownext...] [/shownext][/showif][/search]___Joe___At 11:17 AM 6/16/00, Tim Robinson wrote:>Here's the whole page anyway.... I mean it's not exactly a >complicated page......>>>>>[include file=Header.inc]>>[search db=imagine_tech.db&[formvariables name=_&exact=F][getchars >start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[ >url][startat][/url]&max=10&geSKUdata=1]>>
>[ShowNext position=middle]>[numfound] >record(s) matched your search. Displaying records [start] to >[end]>[/ShowNext]>>
>>[/search]>>
>>Back to Search
>>>>>On Friday, 16 June 2000, Tim Robinson
wrote:>>No. It's not created in PageMill but in BBEdit, and I did Zap>>Gremlins anyway. But it still happens! :-(>>>>>>On Friday, 16 June 2000, WebDNA Support >> wrote:>>>>.... it STOPS after the [/showif] tag. Nothing else displays!>>>>>>Is it possible this is a page that was edited or created using>>>PageMill? In any event, make sure there are no embedded null>>>characters (use BBEdit to zap gremlins) to make sure.>>>>>>Technical Support **********************************>>>Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)>>>16855 West Bernardo Drive, #380 | ------------------------->>>San Diego, CA 92127 | Software & Site Development>>>WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com>>> Fax: (858) 675-0372 >>>**********************************>>>>>>------------------------------------------------------------->>>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/>>>>>>>>>>>------------------------------------------------------------->>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/>>>>>>------------------------------------------------------------->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/_________________________________________________Joseph D'Andrea JoeDan@West21.comWEST21.com Internet services for the 21st Century http://www.west21.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:
I think your problem is that your logis is a bit screwy... here's the outline I would use...[search......][showif [numfound]=0] there are no matches[/showif][showif [numfound]!0] [founditems] blah blah blah [/founditems] [shownext...] [/shownext][/showif][/search]___Joe___At 11:17 AM 6/16/00, Tim Robinson wrote:>Here's the whole page anyway.... I mean it's not exactly a >complicated page......>>>>>[include file=Header.inc]>>[search db=imagine_tech.db&[formvariables name=_&exact=F][getchars >start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[ >url][startat][/url]&max=10&geSKUdata=1]>>>[ShowNext position=middle]>[numfound] >record(s) matched your search. Displaying records [start] to >[end]>[/ShowNext]>>
>>Search Results |
>>[showif [numfound]=0]>>>No records found. | >
>[/showif]>>[founditems]>>[showif [numfound]>1]>>>HREF=Detail.tpl?cart=[cart]&sku=[url][sku][/url]>[subject] > | >
>[/showif]>>[hideif [numfound]>1]>>>[subject] | >
>>>sans-serif>[convertchars][text][/convertchars] | >
>[/hideif]>[/founditems]>>>[hideif [numfound]<11]> >[/hideif]>>[shownext]>[cart]&startat=[start]>Show Items >[start]-[end] >[/shownext]> |
>
>>[/search]>>
>>[cart]>Back to Search
>>>>>On Friday, 16 June 2000, Tim Robinson wrote:>>No. It's not created in PageMill but in BBEdit, and I did Zap>>Gremlins anyway. But it still happens! :-(>>>>>>On Friday, 16 June 2000, WebDNA Support >> wrote:>>>>.... it STOPS after the [/showif] tag. Nothing else displays!>>>>>>Is it possible this is a page that was edited or created using>>>PageMill? In any event, make sure there are no embedded null>>>characters (use BBEdit to zap gremlins) to make sure.>>>>>>Technical Support **********************************>>>Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)>>>16855 West Bernardo Drive, #380 | ------------------------->>>San Diego, CA 92127 | Software & Site Development>>>WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com>>> Fax: (858) 675-0372 >>>**********************************>>>>>>------------------------------------------------------------->>>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/>>>>>>>>>>>------------------------------------------------------------->>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/>>>>>>------------------------------------------------------------->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/_________________________________________________Joseph D'Andrea JoeDan@West21.comWEST21.com Internet services for the 21st Century http://www.west21.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/
Joseph D'Andrea
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:
would this be a good use of [spawn]? (2002)
off-topic: SMS interface? (2001)
Multiple prices (1997)
Assigning new CART number (1997)
allow or deny based on referer.... (1997)
[ModDate] & [ModTime] ? (1997)
Opinion: [input] should be called [output] ... (1997)
no global [username] or [password] displayed ... (1997)
Format all of a sudden doesn't work (1997)
Summing fields (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
Cart Creation (2003)
Separate SSL Server (1997)
First n words (2000)
IE Cache Problems... (1999)
weird convertchars behavior (2000)
[WebDNA] Acceleratin Search / Index Performance in a Formum Service (2013)
Another webcatalog site!! (1997)
Permission Denied Error (2001)
Was: URGENT now: Another Bug (2002)