[WebDNA] hideif within a search

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103125
interpreted = N
texte = I have a search where 2 choices are made from dropdowns. Item 1 is a category. Item 2 lists a website where reviews might be found for listings within that category. There currently are 8 choices as well as "All" for that second Item. Item 2 is written like this within the db: +3+50+51+ and so on depending on the site ID etc To show results for "All" as the 2nd choice I've inserted a [hideif] within the search: [Search db=^/ihr/ihr.db&eqVisibleDatarq=T&eqPreferredDatarq=No&woSECTIONSdatarq=[cat]&SECTIONSword=ww&namewbrk=+&SKUsort=1&SKUsdir=ra&allhit=1[hideif [reviewsites]=All]&woReviewSitesdatarq=[ReviewSites]&ReviewSitesword=ww&ReviewSiteswbrk=+[/hideif]] This seems to be working fine, but I've never placed a hideif within a search in the past My question..... Is placing a [hideif] within a search acceptable? ...if not is there as easier way to find "All" if indicated in that second Item? I'm using 6.0 on IIS....... Thanks Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] hideif within a search (Terry Wilson 2009)
  2. Re: [WebDNA] hideif within a search (Donovan Brooke 2009)
  3. Re: [WebDNA] hideif within a search (Donovan Brooke 2009)
  4. Re: [WebDNA] hideif within a search ("Terry Wilson" 2009)
  5. Re: [WebDNA] hideif within a search (Donovan Brooke 2009)
  6. [WebDNA] hideif within a search (Rich Kwas 2009)
I have a search where 2 choices are made from dropdowns. Item 1 is a category. Item 2 lists a website where reviews might be found for listings within that category. There currently are 8 choices as well as "All" for that second Item. Item 2 is written like this within the db: +3+50+51+ and so on depending on the site ID etc To show results for "All" as the 2nd choice I've inserted a [hideif] within the search: [Search db=^/ihr/ihr.db&eqVisibleDatarq=T&eqPreferredDatarq=No&woSECTIONSdatarq=[cat]&SECTIONSword=ww&namewbrk=+&SKUsort=1&SKUsdir=ra&allhit=1[hideif [reviewsites]=All]&woReviewSitesdatarq=[ReviewSites]&ReviewSitesword=ww&ReviewSiteswbrk=+[/hideif]] This seems to be working fine, but I've never placed a hideif within a search in the past My question..... Is placing a [hideif] within a search acceptable? ...if not is there as easier way to find "All" if indicated in that second Item? I'm using 6.0 on IIS....... Thanks Rich Kwas

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:

PIXO support (1997) Some ThankYou page problems (1997) Shell traceroute (2001) 3.0.8 PDF Manual? Do YOU have it? :) (2000) WC2.0 Memory Requirements (1997) Summing fields (1997) purchase plugin (1996) Sorry WebCatalog server not running. (2002) Re:2nd WebCatalog2 Feature Request (1996) CommandSecurity? (1997) NT [delete] - duh nevermind. (1998) ShowNext (1997) Include vs. lookup? (1998) Next X hits (1996) Secure server question (1997) Running 2 two WebCatalog.acgi's (1996) Nested tags count question (1997) HTML editing and webcatalog (2000) What Country (2004) Nationality (2003)