Re: search/showif issues

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28572
interpreted = N
texte = Guys you both have loads of webcat experience over me, but isn't the code both of you have proposed invalid syntax since the [search] is not fully nested within one or the other (or both if you would use 2 seperate [search]s) [showif]?i.e. From my view you have to do it like so-[showif [var1]=0] [search db=...] [founditems] ... [/founditems] [/search] [/showif][showif [var1]!0] [search db=...] [founditems] ... [/founditems] [/search] [/showif]You tell me if I am right...?(of course includes would reduce the clutter)-JohnJesse Williams Proudman wrote:> What doesn't work? > > Jesse Proudman - NineWire Productions > http://www.ninewire.com <-> jesse@ninewire.com > Innovative and Creative Web Design and Hosting > > > -----Original Message----- > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > Behalf Of Brian Wachter > > Sent: Saturday, March 04, 2000 4:38 PM > > To: WebCatalog Talk > > Subject: Re: search/showif issues > > > > > > That didn't work either. > > Granted, I could have a coding error. > > Have you used this method successfully, Jesse? > > > > Thanks, > > Brian > > > > > > >You might wanna try: > > > > > >[showif [var1]=0] > > > [search db=...] > > >[/showif] > > > > > >[showif [var1]!0] > > > [search db=...] > > >[/showif] > > > > > >[founditems] > > >... > > >[/founditems] > > >[showif [var1]=0] > > > [/search] > > >[/showif] > > > > > >[showif [var1]!0] > > > [/search] > > >[/showif] > > > > > > > > > Jesse Proudman - NineWire Productions > > > http://www.ninewire.com <-> jesse@ninewire.com > > > Innovative and Creative Web Design and Hosting > > > > > >> -----Original Message----- > > >> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > >> Behalf Of Brian Wachter > > >> Sent: Saturday, March 04, 2000 4:30 PM > > >> To: WebCatalog Talk > > >> Subject: search/showif issues > > >> > > >> > > >> I want to do perform one of two different types of searches > > depending on > > >> certain criteria. > > >> > > >> Can anyone tell me whether the following program structure should work: > > >> > > >> [showif [var1]=0] > > >> [search db=...] > > >> [/showif] > > >> > > >> [showif [var1]!0] > > >> [search db=...] > > >> [/showif] > > >> > > >> [founditems] > > >> ... > > >> [/founditems] > > >> [/search] > > >> > > >> The page will not display and it's as if BOTH search contexts > > are being > > >> seen and that I need a second [/search] or something. I > > have another > > >> way of implementing what I want to do, but I've run into this > > before and > > >> so I thought I'd ask. > > >> > > >> Thanks, > > >> Brian Wachter > > >> Stoneport Technologies, LLC > > >> > > >> ------------------------------------------------------------- > > >> 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 > > >> > > >> > > > > > >------------------------------------------------------------- > > >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 > > > > > > > ------------------------------------------------------------- > > 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 > > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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:

    
  1. Re: search/showif issues (John Butler 2000)
  2. Re: search/showif issues (Brian Wachter 2000)
  3. Re: search/showif issues (Brian Wachter 2000)
  4. Re: search/showif issues (Jesse Williams Proudman 2000)
  5. Re: search/showif issues (Kenneth Grome 2000)
  6. Re: search/showif issues (Kenneth Grome 2000)
  7. Re: search/showif issues (Jesse Williams Proudman 2000)
  8. Re: search/showif issues (Brian Wachter 2000)
  9. Re: search/showif issues (Jesse Williams Proudman 2000)
  10. search/showif issues (Brian Wachter 2000)
Guys you both have loads of webcat experience over me, but isn't the code both of you have proposed invalid syntax since the [search] is not fully nested within one or the other (or both if you would use 2 seperate [search]s) [showif]?i.e. From my view you have to do it like so-[showif [var1]=0] [search db=...] [founditems] ... [/founditems] [/search] [/showif][showif [var1]!0] [search db=...] [founditems] ... [/founditems] [/search] [/showif]You tell me if I am right...?(of course includes would reduce the clutter)-JohnJesse Williams Proudman wrote:> What doesn't work? > > Jesse Proudman - NineWire Productions > http://www.ninewire.com <-> jesse@ninewire.com > Innovative and Creative Web Design and Hosting > > > -----Original Message----- > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > Behalf Of Brian Wachter > > Sent: Saturday, March 04, 2000 4:38 PM > > To: WebCatalog Talk > > Subject: Re: search/showif issues > > > > > > That didn't work either. > > Granted, I could have a coding error. > > Have you used this method successfully, Jesse? > > > > Thanks, > > Brian > > > > > > >You might wanna try: > > > > > >[showif [var1]=0] > > > [search db=...] > > >[/showif] > > > > > >[showif [var1]!0] > > > [search db=...] > > >[/showif] > > > > > >[founditems] > > >... > > >[/founditems] > > >[showif [var1]=0] > > > [/search] > > >[/showif] > > > > > >[showif [var1]!0] > > > [/search] > > >[/showif] > > > > > > > > > Jesse Proudman - NineWire Productions > > > http://www.ninewire.com <-> jesse@ninewire.com > > > Innovative and Creative Web Design and Hosting > > > > > >> -----Original Message----- > > >> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > >> Behalf Of Brian Wachter > > >> Sent: Saturday, March 04, 2000 4:30 PM > > >> To: WebCatalog Talk > > >> Subject: search/showif issues > > >> > > >> > > >> I want to do perform one of two different types of searches > > depending on > > >> certain criteria. > > >> > > >> Can anyone tell me whether the following program structure should work: > > >> > > >> [showif [var1]=0] > > >> [search db=...] > > >> [/showif] > > >> > > >> [showif [var1]!0] > > >> [search db=...] > > >> [/showif] > > >> > > >> [founditems] > > >> ... > > >> [/founditems] > > >> [/search] > > >> > > >> The page will not display and it's as if BOTH search contexts > > are being > > >> seen and that I need a second [/search] or something. I > > have another > > >> way of implementing what I want to do, but I've run into this > > before and > > >> so I thought I'd ask. > > >> > > >> Thanks, > > >> Brian Wachter > > >> Stoneport Technologies, LLC > > >> > > >> ------------------------------------------------------------- > > >> 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 > > >> > > >> > > > > > >------------------------------------------------------------- > > >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 > > > > > > > ------------------------------------------------------------- > > 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 > > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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 John Butler

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:

my price won't move (1997) Now you see it now you donīt (1997) shipcost (1997) WebCat2: Found Items syntax, etc. (1997) Emailer setup (1997) locking variables? (2000) Generating unique SKU from [cart] - FIXED! (1997) Reversing [ipaddress] normalization (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Serious WebDNA issue (2006) Unique SKU Numbers (2000) OT: IP addres checking (2003) RE: Any limit to [include] (1997) Search with Special Chars (1997) WebCat2b12 - nesting [tags] (1997) [isfile] ? (1997) [BULK] [WebDNA] Open Source CMS (2012) Encrypted links ... (2000) emailer w/F2 (1997) More on the email templates (1997)