GoodPath and MoveFile (edited and reposted)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28773
interpreted = N
texte = Greetings all--First, a little background: I'm working on a site for a used-record store.The site will allow buyers to browse a real-time display of what's on theracks and available for purchase. However, the possibility remains that thestore will sell something over the counter before an online order for thesame item can be filled. So we need to be able to crack open all pendingorderfiles and pull out anything that can no longer be sent between the BOOKand SHIP stages.So when an order is successfully BOOKed, I'd like to move its orderfile toanother folder, where things will be easier to keep track of.My question: can I include something like[movefile from=PendingOrders/[cart]&to=That_Folder/[cart]]in the GoodPath.inc file, subsection [showif [m_paymethod]=BK]?Or do I need to write a second include for the ProcessOrders.tpl file thatcycles through every orderfile in PendingOrders, cracks each one open, looksfor [something that indicates a successful booking], and then moves it?Thanks for your timeAndy---------------Andy Willett, Senior TechnicianBeta Unlimited: Business Workgroup Solutionsandy@betau.com212-685-1886-------------------------------------------------------------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:
Greetings all--First, a little background: I'm working on a site for a used-record store.The site will allow buyers to browse a real-time display of what's on theracks and available for purchase. However, the possibility remains that thestore will sell something over the counter before an online order for thesame item can be filled. So we need to be able to crack open all pendingorderfiles and pull out anything that can no longer be sent between the BOOKand SHIP stages.So when an order is successfully BOOKed, I'd like to move its orderfile toanother folder, where things will be easier to keep track of.My question: can I include something like[movefile from=PendingOrders/[cart]&to=That_Folder/[cart]]in the GoodPath.inc file, subsection [showif [m_paymethod]=BK]?Or do I need to write a second include for the ProcessOrders.tpl file thatcycles through every orderfile in PendingOrders, cracks each one open, looksfor [something that indicates a successful booking], and then moves it?Thanks for your timeAndy---------------Andy Willett, Senior TechnicianBeta Unlimited: Business Workgroup Solutionsandy@betau.com212-685-1886-------------------------------------------------------------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
Andy Willett
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:
Help! WebCat2 bug (1997)
WebCatalog Help (2002)
[WebDNA] Encode cookies ONLY via "method=Base64" (2008)
WebMerchant Problem... (1999)
WebCatalog2 Feature Feedback (1996)
WebCat2b12 - nesting [tags] (1997)
wierd crashes for multi-sendmails on NT (1997)
Nested vs conditional (1997)
Converting characters to numbers ... (1997)
[OT][OT] OSX email client (2002)
Note added to [sendmail] in Docs (2004)
anyone on the list work with Generator and WebCat together? (1999)
show all problem (1997)
Jimmy Houssen (1998)
docs for WebCatalog2 (1997)
how many (hideif & showifs) is too many? (2001)
FoundItems Question (1998)
_ in front of field name (1998)
Searching for all records (1998)
RE: Writefile outside WebSTAR hierarchy? (1997)