Re: Weird [blank] interpretation

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25590
interpreted = N
texte = wrap them in [url]'s the ! in the record is screwing things up. [url] [shiptoaddress1][/url]will fix this problem.- Charles>Here's something very odd. I've got code that checks to see if the >shiptoaddress in one of our dbs is blank. If it is, it prints out >the billing address and hides the shipping address. > >The problem is that on one entry, WebCatalog is interpreting the >shipto as blank, even when it has data in it. > >The code: > >[hideif [shiptoaddress1]=] >[shiptoname]
>[ShipToAddress1]
>[hideif [shiptoaddress2]=][shiptoaddress2]
[/hideif] > >[ShipToCity], [shiptostate] [shiptozip] [shiptocountry]
>[/hideif] > >[showif [shiptoaddress1]=] >[name]
>[Address1]
>[hideif [address2]=][address2]
[/hideif] >[City], [state] [zip] [country]
>[/showif] > > >The one customer for whom this is happening has a shiptoaddress1 that >contains this text: Don't open Until Christmas! > >In other words, if I put a [shiptoaddress1] outside of the hideif, >the text string displays on the page. If I look in the db, I see the >text string just as I do when it displays--no extra funky characters, >no spaces, no weird stuff. Anyone have any ideas what gives? > >Thanks, > >Maurice Rickard | GreenMarketplace.com: >Director of Creative & Production | Natural Products for you >http://www.greenmarketplace.com/ | and your planet. > >------------------------------------------------------------- >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 >-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- 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[3]: Weird [blank] interpretation (Kenneth Grome 1999)
  2. Re[3]: Weird [blank] interpretation ( 1999)
  3. Re[2]: Weird [blank] interpretation (Kenneth Grome 1999)
  4. Re[2]: Weird [blank] interpretation (jpeacock@univpress.com 1999)
  5. Re[2]: Weird [blank] interpretation (Maurice Rickard 1999)
  6. Re: Weird [blank] interpretation (Maurice Rickard 1999)
  7. Re: Weird [blank] interpretation (Charles Kline 1999)
  8. Weird [blank] interpretation (Maurice Rickard 1999)
wrap them in [url]'s the ! in the record is screwing things up. [url] [shiptoaddress1][/url]will fix this problem.- Charles>Here's something very odd. I've got code that checks to see if the >shiptoaddress in one of our dbs is blank. If it is, it prints out >the billing address and hides the shipping address. > >The problem is that on one entry, WebCatalog is interpreting the >shipto as blank, even when it has data in it. > >The code: > >[hideif [shiptoaddress1]=] >[shiptoname]
>[ShipToAddress1]
>[hideif [shiptoaddress2]=][shiptoaddress2]
[/hideif] > >[ShipToCity], [shiptostate] [shiptozip] [shiptocountry]
>[/hideif] > >[showif [shiptoaddress1]=] >[name]
>[Address1]
>[hideif [address2]=][address2]
[/hideif] >[City], [state] [zip] [country]
>[/showif] > > >The one customer for whom this is happening has a shiptoaddress1 that >contains this text: Don't open Until Christmas! > >In other words, if I put a [shiptoaddress1] outside of the hideif, >the text string displays on the page. If I look in the db, I see the >text string just as I do when it displays--no extra funky characters, >no spaces, no weird stuff. Anyone have any ideas what gives? > >Thanks, > >Maurice Rickard | GreenMarketplace.com: >Director of Creative & Production | Natural Products for you >http://www.greenmarketplace.com/ | and your planet. > >------------------------------------------------------------- >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 >-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- 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 Charles Kline

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:

[WebDNA] wordfile for UltraEdit (2010) WebCat hosting providers? (1997) Search and list the titles of book (2003) Extended [ConvertChars] (1997) Emailer Set Up (1997) Ampersands in database fields? (1998) Quitting WebMerchant ? (1997) find with exceptions (1997) ErrorLog.txt (1999) WebCat2: Items xx to xx shown, etc. (1997) Multi-processor Mac info ... (1997) Export database record - append to other database (2005) Sending an email to all )or some) email addresses int he database (1999) can WC render sites out? (1997) Help Encrypt/Decrypt eMail (2003) 2.1b3 --> way slow (1997) RE:It just Does't add up!!! (1997) Re:Running 2 two WebCatalog.acgi's (1996) PCS Frames (1997) Extended [ConvertChars] (1997)