Re: My X-Mas Wish

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22987
interpreted = N
texte = On 1/25/1999 8:54 pm, Brian B. Burton so noted...>After literally hours of trying to figure out why [date] with formatting >wasn't >working, it occurred to me that I had been had. That's right kids, (and for >those of you in the back seats who might have missed it) There is a field >in the >shopping cart called date, and if you use a [date] tag on a page being shown >using a $showcart or a $purchase then you get the ascii values of the date >field >in the shopping cart, and not the variable of the date. You can Kiss Off >using >the methods that are documented to work with [date] to show a formatted date.This comes up every few months as I think just about everyone's been burned by it (myself included). Definitely should be near the top of any potential troubleshooting FAQ. I know at the time (pre-[text] era) I set the formatted date to one of the cart's header fields (which would be a good place to store the [cart] number as well, if you needed a filename-independent place to store that information). I can sympathize with the context-sensitive [date] tag -- it's not the clearest thing.Me, I'm driven crazy that flammable and inflammable mean the same thing. I petition to Webster's for years, but do they listen?... ; )Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: My X-Mas Wish (Rob Marquardt 1999)
  2. Re: My X-Mas Wish (Michael Winston 1999)
  3. Re: My X-Mas Wish (Michael Winston 1999)
  4. Re: My X-Mas Wish (Brian B. Burton 1999)
  5. Re: My X-Mas Wish (Kenneth Grome 1999)
  6. My X-Mas Wish (Brian B. Burton 1999)
On 1/25/1999 8:54 pm, Brian B. Burton so noted...>After literally hours of trying to figure out why [date] with formatting >wasn't >working, it occurred to me that I had been had. That's right kids, (and for >those of you in the back seats who might have missed it) There is a field >in the >shopping cart called date, and if you use a [date] tag on a page being shown >using a $showcart or a $purchase then you get the ascii values of the date >field >in the shopping cart, and not the variable of the date. You can Kiss Off >using >the methods that are documented to work with [date] to show a formatted date.This comes up every few months as I think just about everyone's been burned by it (myself included). Definitely should be near the top of any potential troubleshooting FAQ. I know at the time (pre-[text] era) I set the formatted date to one of the cart's header fields (which would be a good place to store the [cart] number as well, if you needed a filename-independent place to store that information). I can sympathize with the context-sensitive [date] tag -- it's not the clearest thing.Me, I'm driven crazy that flammable and inflammable mean the same thing. I petition to Webster's for years, but do they listen?... ; )Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

authenticate (2002) cookies crumbling (1999) [input] questions (1997) Locking up with WebCatalog... (1997) Caching [include] files ... (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [taxRate] [TaxTotal] ? (1997) founditems and setheader (2000) Format question WC Mac f3 (1997) WebCatalog2 Feature Feedback (1996) WebCat & cookies (1998) Searching multiple fields (1997) Problem (1997) setting username and password using a form. (2000) WebCat b15 Mac plug-in (1997) My first ship table (1998) Emailer setup (1997) Version f1 status (1997) Extended [ConvertChars] (1997) Dark Horse Comics success story (1997)