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:
[WebDNA] Terminate all threads (2010)
Extended [ConvertChars] (1997)
Searching an Email database (1997)
[SearchString] problem with [search] context (1997)
WebCat2 as a chat server? (1997)
[WebDNA] A new popuated field to a DB with 700.000 records (2009)
Artwork (1997)
Lots of bounce errors (2007)
Re:Help name our technology! (1997)
Site Search Concepts (2003)
SSL Certificates (2004)
problem: mail changed (1997)
Plugin or CGI or both (1997)
Mail going nowhere (2003)
Download URL & access on the fly ? (1997)
Running _every_ page through WebCat ? (1997)
[cart] not being interpreted inside [founditems] (1997)
Document Contains No Data! (1997)
[WebDNA] Clarifying talklist emails (2020)
WC Database Format (1997)