Code Question
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38373
interpreted = N
texte = Is there any reason why placing this code at the top of a page (It all workscorrectly) and then replacing all [carts] in the page with [ncart] wouldrender certain functions on the page useless (the calculation of the grandtotal using some custom math code that I didn't write and don't quiteunderstand)? I would post the code of the whole page but it's 50k and Idon't quite understand it all and I don't think any of you would either.There are no command variables being posted to this page and the onlymajor change I made was removing at a showcart command WAS being posted topage, inserting this code, and wrapping the rest of a page in an [orderfilecart=[ncart]]. I'm thoroughly stumped...[!] Define New Cart Number [/!][text show=f]ncart=[date format=%Y-%m][includefile=FG-WriteInHere/FG-CartID.txt][/text][math show=f]uper=[include file=FG-WriteInHere/FG-CartID.txt]+1[/math][deletefile file=FG-WriteInHere/FG-CartID.txt][writefile file=FG-WriteInHere/FG-CartID.txt&secure=f][uper][/writefile][movefile from=ShoppingCarts/[cart]&to=ShoppingCarts/[ncart]]I will be gone for 3 days and be back on Friday but if any one has anysuggestions while I'm gone, I'm open. I've spent 3 hours on this tonightwhen it should have taken 30 minutes. This code works fine on other sites.-jesse-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Is there any reason why placing this code at the top of a page (It all workscorrectly) and then replacing all [carts] in the page with [ncart] wouldrender certain functions on the page useless (the calculation of the grandtotal using some custom math code that I didn't write and don't quiteunderstand)? I would post the code of the whole page but it's 50k and Idon't quite understand it all and I don't think any of you would either.There are no command variables being posted to this page and the onlymajor change I made was removing at a showcart command WAS being posted topage, inserting this code, and wrapping the rest of a page in an [orderfilecart=[ncart]]. I'm thoroughly stumped...[!] Define New Cart Number [/!][text show=f]ncart=[date format=%Y-%m][includefile=FG-WriteInHere/FG-CartID.txt][/text][math show=f]uper=[include file=FG-WriteInHere/FG-CartID.txt]+1[/math][deletefile file=FG-WriteInHere/FG-CartID.txt][writefile file=FG-WriteInHere/FG-CartID.txt&secure=f][uper][/writefile][movefile from=ShoppingCarts/[cart]&to=ShoppingCarts/[ncart]]I will be gone for 3 days and be back on Friday but if any one has anysuggestions while I'm gone, I'm open. I've spent 3 hours on this tonightwhen it should have taken 30 minutes. This code works fine on other sites.-jesse-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Jesse Proudman (Lists Account)
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:
ShowNext Anomaly (1998)
Running 2 two WebCatalog.acgi's (1996)
Re:2nd WebCatalog2 Feature Request (1996)
Bad Cookie / Internet Option / Internet Explorer (2004)
[WebDNA] Yikes, upgraded to OS Mavericks and now WebDNA not running (2013)
Pithy questions on webcommerce & siteedit (1997)
Commas in search (1998)
WC2.0 Memory Requirements (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Retirement (2000)
WebCatalog stalls (1998)
OT: Backup Strategies (2007)
Netscape Communicator 4 chops off URLs (was No Data) (1997)
generator prob (2001)
Filemaker Pro & Webcatalog (1999)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Updating a database once per day - An example (1998)
Encrypt (2000)
[date format] w/in sendmail (1997)
Re:Emailer and encryption (1997)