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:

Refering page (1998) Cannot open database (1999) [protect admin] (1997) CommandSecurity? (1997) WebDNA HitLogger available (was Signal Raised Error) (1997) [item] appears after 'remove last item' ... (1997) Nested tags count question (1997) [searchString] (1997) syntax question, not in online refernce (1997) RAM problems, [appendfile] problems (1998) Big Databases (1997) Determining Method (2000) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Running 2 two WebCatalog.acgi's (1996) Press Release hit the NewsWire!!! (1997) Still trying to email... (1998) WebCat2 several catalogs? (1997) WC TableGrinder (1997) [WebDNA] [OT] BBEdit Glossary (2012) more ! testing (1997)