Re: My X-Mas Wish

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22983
interpreted = N
texte = >>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. > > Or you could use an extremely simple work-around, such as setting your date > format in the form performing the $showcart and $purchase commands, then > pass the formatted date value, by way of a hidden form field, to the next page: > > > > Then you can easily use your beloved [today] tag inside your showcart > contexts, and they will display exactly what you want ...You're right, I could. However, on this final page, I actually need the date in 8 different formats (don't ask) and as the preceding 3 pages are all show cart or purchase issued, I'd have to carry those variables all of the way through. No Thanks, I'd prefer it if PCS straightened out their command set. Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. 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)
>>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. > > Or you could use an extremely simple work-around, such as setting your date > format in the form performing the $showcart and $purchase commands, then > pass the formatted date value, by way of a hidden form field, to the next page: > > > > Then you can easily use your beloved [today] tag inside your showcart > contexts, and they will display exactly what you want ...You're right, I could. However, on this final page, I actually need the date in 8 different formats (don't ask) and as the preceding 3 pages are all show cart or purchase issued, I'd have to carry those variables all of the way through. No Thanks, I'd prefer it if PCS straightened out their command set. Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. Brian B. Burton

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:

Problems getting parameters passed into email. (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) PROBLEMS WITH WEBCAT LINUX (2000) New Plug-in and Type 11 errors (1997) Our Webcat site launched (1997) Storing Data (2002) Projects & Contractors (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Implementing Gift Certificates in online store (1998) Template Security error (1997) Dubble Sku's in a Database (1999) [WebDNA] OT - JS help (2008) message forum question (2005) THANKS (1997) RE: 2nd WebCatalog2 Feature Request (1996) db security on NT (1997) [format xs] freeze (1997) WebCatalog can't find database (1997) [WebDNA] Conditional search (2009) WebCat2b15MacPlugin - showing [math] (1997)