Re: Using [showif] within [lineitems] [code fragment]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29431
interpreted = N
texte = >On 3/21/00 10:58 AM, Derrick Puckett at derrick@buyonline.nl wrote: > >> Have you tried this with an inherently true statement? For >> example [showif 1=1]. > >Of course, this does work, and the obvious, [showif 1=2] doesn't. > >> If that resolves and your [showif [texta]=whatever] >> doesn't, there may be some unwanted spaces or invisible characters at the end >> or beginning of your name strings. Check your database in an editor that >> displays invisibles. > >The database appears fine-- just tabs and newlines. > > and check your orderfile to assure that [texta] is in >> fact properly set. You should also make sure your [lineitems] context is >> nested within an [orderfile] context that refers to the correct cart location. > >I can place a bare [textA] into the [lineitems] and it does the >substitution. It's the showif processing that's killing it.Try posting your code so someone can find the problem you seem to be missing ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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: Using [showif] within [lineitems] [code fragment] (Kenneth Grome 2000)
  2. Re: Using [showif] within [lineitems] [code fragment] (Andrew Vernon 2000)
  3. Re: Using [showif] within [lineitems] [code fragment] (Derrick Puckett 2000)
  4. Re: Using [showif] within [lineitems] [code fragment] (Derrick Puckett 2000)
  5. Re: Using [showif] within [lineitems] [code fragment] (Andrew Vernon 2000)
>On 3/21/00 10:58 AM, Derrick Puckett at derrick@buyonline.nl wrote: > >> Have you tried this with an inherently true statement? For >> example [showif 1=1]. > >Of course, this does work, and the obvious, [showif 1=2] doesn't. > >> If that resolves and your [showif [texta]=whatever] >> doesn't, there may be some unwanted spaces or invisible characters at the end >> or beginning of your name strings. Check your database in an editor that >> displays invisibles. > >The database appears fine-- just tabs and newlines. > > and check your orderfile to assure that [texta] is in >> fact properly set. You should also make sure your [lineitems] context is >> nested within an [orderfile] context that refers to the correct cart location. > >I can place a bare [textA] into the [lineitems] and it does the >substitution. It's the showif processing that's killing it.Try posting your code so someone can find the problem you seem to be missing ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Kenneth Grome

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:

cron script for housekeeping and running WebCatalog? (1999) lineitems not showing when moving to a different OS (2006) Post (1997) Tried installing Windows beta with no success... (2000) Can't load tmpl files (1997) [WebDNA] TCPconnect code snippet needed (2008) NTbeta18 corrupted? (1997) A workaround for handling date range search in yyyy/mm/dd form (1997) dynamic PDF no longer working? (2004) [Shell script] question. (2004) File upload woes (1998) More on the email templates (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Re:Emailer and encryption (1997) [OT] 'Email this story to a friend' (2003) where to put code (1998) multiple credit card merchant accounts/processors (1997) WC2b12: Yes, Formulas.db is for real (1997) Running 2 two WebCatalog.acgi's (1996) Sorry I didn't pay attention-but ??? (1997)