Re: tricky embedded[showifs/hideifs] (w/ code.. long)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27650
interpreted = N
texte = Well god bless those that don't ever do this coding thing. My girlfriend said, Why not just make a duplicate page without the credit card stuff just for NET30 clients. Ding, ding! I ended up putting a small form at the top of the checkout.tpl page that reroutes NET30 customers to different templates which I just copied and pasted, eliminated the credit card code. Piece of cake.Basically the same thing as what you were saying John, but just split into different pages all ending with the same output. Woohoo! ;-DJohn Butler wrote:> Kenneth Grome wrote: > > > >So does anyone have any suggestions about how to hide the multiple credit card checksuming > > >code pieces on the invoice.tpl and thanks.tpl within the StoreBuilder templates based on > > >if a checkbox value is true?? I'm dying here trying to come up an explanation to my client > > >why I _can't_ have NET 30 customers bypass the credit card code. ;) > > Surely (99% sure ;-) you can do what the client needs using webcat in this case. You just may have to write whole sections of code/html twice - once for when a wrapping [showif] evaluates to true and once when a similar wrapping [hideif] evaluates to true. SO you have thus covered both scenarios > without writing bad WebDNA. > > -John-- Parker Zero Echo Inc. Content Director ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  2. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
  3. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  4. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
  5. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (John Butler 2000)
  6. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  7. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
  8. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  9. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (WebDNA Support 2000)
  10. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (John Butler 2000)
  11. tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
Well god bless those that don't ever do this coding thing. My girlfriend said, Why not just make a duplicate page without the credit card stuff just for NET30 clients. Ding, ding! I ended up putting a small form at the top of the checkout.tpl page that reroutes NET30 customers to different templates which I just copied and pasted, eliminated the credit card code. Piece of cake.Basically the same thing as what you were saying John, but just split into different pages all ending with the same output. Woohoo! ;-DJohn Butler wrote:> Kenneth Grome wrote: > > > >So does anyone have any suggestions about how to hide the multiple credit card checksuming > > >code pieces on the invoice.tpl and thanks.tpl within the StoreBuilder templates based on > > >if a checkbox value is true?? I'm dying here trying to come up an explanation to my client > > >why I _can't_ have NET 30 customers bypass the credit card code. ;) > > Surely (99% sure ;-) you can do what the client needs using webcat in this case. You just may have to write whole sections of code/html twice - once for when a wrapping [showif] evaluates to true and once when a similar wrapping [hideif] evaluates to true. SO you have thus covered both scenarios > without writing bad WebDNA. > > -John-- Parker Zero Echo Inc. Content Director ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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 Parker

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:

WebCommerce: Folder organization ? (1997) Server crash (1997) Question re: FlushDatabases (1997) This list needs a digest: rant, rave... (1997) [shell] oddity (2002) possible, WebCat2.0 and checkboxes-restated (1997) WebCat2 Append problem (B14Macacgi) (1997) WebCat and WebTV (1997) problems with 2 tags (1997) [WebDNA] Code Library (2013) Attention all list readers (1997) Netscape v. IE (1997) [WriteFile] problems (1997) taxRate and grandTotal calculation is not showing up on myThankYou.tpl (2000) Applying discounts as more items are added... (1997) Which GUI HTML editors work with WC ? (1997) Show if time tags (1997) Shopping carts and reloading pages (1997) How To question on setting up downloads (1997) ODBC problems between webcatalog and filemaker pro (2001)