ShowIf helper?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19084
interpreted = N
texte = Hi All,1st time Web Catalog user here. We FINALLY got our online store started! [yeah!] (Much thanks to the insightful posts on this list and John @ tech support - and NO thanks at all to that crappy manual.)Now we are customizing the pages that database helper created. On the first page main.tpl we have two different entry links that go to the Search.tpl with different command parameters. The first link Lists all the available brand names, & the second link lists all the available categories. Both Brand & Catagory (which was accidently spelled wrong when making the database) are fields in the database. The links on this main.tpl look like this:List All Brand Names

List All Categories
The problem is on the Search.tpl. The way I have [Showif] & [Founditems] set up is not working but I can't figure out what comparison to use to show the right search summary. I read through the online reference twice, without skipping anything but none of the comparisons listed seems to apply.My (bad) code on the search page looks like this:[ShowIf [action]=Search&Search=Catagory]Product Categories[/ShowIf] [ShowIf [action]=Search&Search=Brand]Brand Names[/ShowIf] [FoundItems] [/ShowIf] [/FoundItems]
[Catagory] [ShowIf [index]\3]
Can someone PLEASE help! Thanks in advance for all suggestions.Angel J. Bennett ! We want the world and VP / Creative Dir. ! we want it... The WWW Store ! NOW! 818-905-6787 ! http://www.thewwwstore.com Associated Messages, from the most recent to the oldest:

    
  1. Re: ShowIf helper? (PCS Technical Support 1998)
  2. ShowIf helper? (Angel Bennett 1998)
  3. ShowIf helper? (Angel Bennett 1998)
Hi All,1st time Web Catalog user here. We FINALLY got our online store started! [yeah!] (Much thanks to the insightful posts on this list and John @ tech support - and NO thanks at all to that crappy manual.)Now we are customizing the pages that database helper created. On the first page main.tpl we have two different entry links that go to the Search.tpl with different command parameters. The first link Lists all the available brand names, & the second link lists all the available categories. Both Brand & Catagory (which was accidently spelled wrong when making the database) are fields in the database. The links on this main.tpl look like this:List All Brand Names

List All Categories
The problem is on the Search.tpl. The way I have [showif] & [founditems] set up is not working but I can't figure out what comparison to use to show the right search summary. I read through the online reference twice, without skipping anything but none of the comparisons listed seems to apply.My (bad) code on the search page looks like this:[ShowIf [action]=Search&Search=Catagory]Product Categories[/ShowIf] [ShowIf [action]=Search&Search=Brand]Brand Names[/ShowIf] [founditems] [/ShowIf] [/FoundItems]
[url][Cat agory][/url]&cart=[cart]&searchTitle=[url][Catagory][/url]>[Catagory] [ShowIf [index]\3]
Can someone PLEASE help! Thanks in advance for all suggestions.Angel J. Bennett ! We want the world and VP / Creative Dir. ! we want it... The WWW Store ! NOW! 818-905-6787 ! http://www.thewwwstore.com Angel Bennett

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:

Is someone's computer clock set wrong? (2000) Re1000002: Setting up shop (1997) select multiple (1997) Multiple edits/replacementsd to db. Possible? (1997) credit card question (simple) (2001) RE: File Uploads (1998) [WebDNA] .html suffix (2014) MOOOOOO (2000) RE: Any limit to [include] (1997) Multiple prices (1997) Showif Error Generated... (2003) SSL (1998) WC2b12: Yes, Formulas.db is for real (1997) Country & Ship-to address & other fields ? (1997) wish list (2002) error: Too many nested [xxx] contexts (1997) Re:Webmessage Hyperboard (1998) Searching multiple databases (1998) That Flakey 'Brawl' thing (1997) WebCat2b12plugin - [search] is broken ... not! (1997)