Re: hiding links

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23898
interpreted = N
texte = Ken-I tried your elegant solution (!) for hiding a link once an item had been ordered. However, if I click on an item to add it to the cart, the proper URL will not be displayed until I click on another item to add it. It seems that Webcat displays the info to refresh the page faster than it provides the info on what's been added to the cart, thus breaking the showif/hideif logic. Is this the case? Test case is up at http://www.tigernet.net/webcat/test.tpl> > [showif [include shoppingcart/[cart]]^[sku]] > Remove from cart > [/showif] > > [hideif [include shoppingcart/[cart]]^[sku]] > Add to cart > [/hideif] > > Sincerely, > Ken Grome > WebDNA Consultant > -will Associated Messages, from the most recent to the oldest:

    
  1. Re: hiding links (Kenneth Grome 1999)
  2. Re: hiding links (Will Starck 1999)
  3. Re: hiding links (Kenneth Grome 1999)
  4. Re: hiding links (josh@pop-art.com 1999)
  5. hiding links (Mícheál O Sé 1999)
  6. hiding links (Mícheál O Sé 1999)
Ken-I tried your elegant solution (!) for hiding a link once an item had been ordered. However, if I click on an item to add it to the cart, the proper URL will not be displayed until I click on another item to add it. It seems that Webcat displays the info to refresh the page faster than it provides the info on what's been added to the cart, thus breaking the showif/hideif logic. Is this the case? Test case is up at http://www.tigernet.net/webcat/test.tpl> > [showif [include shoppingcart/[cart]]^[sku]] > Remove from cart > [/showif] > > [hideif [include shoppingcart/[cart]]^[sku]] > Add to cart > [/hideif] > > Sincerely, > Ken Grome > WebDNA Consultant > -will Will Starck

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:

WebCat2b13MacPlugIn - More limits on [include] (1997) Harvesting invalid email addresses from bounced emails??? (2000) all records returned. (1997) self maintaining databases? (1998) Date Bug (1998) Greater then less then (2001) More on the email templates (1997) Calculating Age from DB fields (2003) WebCat2b12 forgets serial # (1997) template not found error (1998) Displaying text and populating form fields ... (2005) [WebDNA] filter out the exclaimation point (2017) Nesting format tags (1997) Nested vs conditional (1997) Before I Can Begin . . . (1998) format_to_days on NT (1997) What file? (1997) More Applescript (1997) Webstar 1.3.1 PPC (1997) Re:no [search] with NT (1997)