Re: Deleting Orders
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12190
interpreted = N
texte = At 2:41 PM 6/27/97, John Hill altered the fabric of cyberspace, writing:> An easy way to do this is to embed an AppleScript (I assume you are on Mac)> that does the deletion for you after they have been processed.>> John.>> >If I am using only WebCatalog and not also WebMerchant is there an easy>way to> >configure a command option so that individual store operators can delete> >orders> >from the Orders folder once they have completed their processing?> >> >Basically, I have used modifications to General Store to convert>several of> >our vendor clients from a Tango interface to Webcatalog. I cannot however> >figure out how to set a command to allow them to delete files from the> >Orders> >folder once they have been processed.> >> >> >> >> >John Benn, PetsForum GroupFunny you should mention it. I have been wresteling with this very issuemyself. I had thought of the apple (or some other script) to do this, butit just seems an ugly and slow solution.Seems nearly all cgi's can writh files and append files all over the place.But try to delete something on a mac and you're stuck for a simple command.Where is unix when you just need to rm file* ;-] I'd even settle for a'del' key. Oh well....Instead you could setup a universal db to collect all the orderinformation, and the store name. Have the [SendMail] direct the store to aprivate usr/pass protected .tmpl file that would do the search for theirstore name and return the order information. You can then allow the storeowner to delete the record in the db after processing.Better yet, train the store owner to check this private URL a few times aday or as needed to pick up his orders and forget the [SendMail}notification all together.When I first looked at WebCat2 I thought WOW 100 data bases! Seems likethey get used up in rapid fashion doing specific small functions. Thecreation of universial db's that can be used by many sites seems anecessary approach. Much like the CA_TAX.db could be used by any site thatneeds CA sales tax by zip. Thus my suggestion for the above. By addingthe store name to the db, any store can use the some db to do this searchfor their orders. I may have missed something here but it seems the way Iwill go.Now for my question...I have been using the 'ClassifiedAds' example to do some work. I need toallow the 'poster' of the add to edit or del AS WELL AS the siteadministrator. Perhaps it is because it's Friday and my brain hurts,because I just can't think of a way to do this.Any help??<--Glenn-->~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Glenn & Renee DavisExclusively Web / Net Highway (916) 887-0678Web Page Design / Hosting ServicesPOB 157, Cool,CA 95614-0157http://www.ExclusivelyWeb.comhttp://www.Net-Hwy.com &&& ||| (@ @) (@ @)----------------------------ooO---U---Ooo---------------ooO--(_)--Ooo------->> Mailto:renee@Net-Hwy.com Mailto:glenn@Net-Hwy.com Mailto:renee@ExclusivelyWeb.com Mailto:glenn@ExclusivelyWeb.com Graphics Design Webmaster
Associated Messages, from the most recent to the oldest:
At 2:41 PM 6/27/97, John Hill altered the fabric of cyberspace, writing:> An easy way to do this is to embed an AppleScript (I assume you are on Mac)> that does the deletion for you after they have been processed.>> John.>> >If I am using only WebCatalog and not also WebMerchant is there an easy>way to> >configure a command option so that individual store operators can delete> >orders> >from the Orders folder once they have completed their processing?> >> >Basically, I have used modifications to General Store to convert>several of> >our vendor clients from a Tango interface to Webcatalog. I cannot however> >figure out how to set a command to allow them to delete files from the> >Orders> >folder once they have been processed.> >> >> >> >> >John Benn, PetsForum GroupFunny you should mention it. I have been wresteling with this very issuemyself. I had thought of the apple (or some other script) to do this, butit just seems an ugly and slow solution.Seems nearly all cgi's can writh files and append files all over the place.But try to delete something on a mac and you're stuck for a simple command.Where is unix when you just need to rm file* ;-] I'd even settle for a'del' key. Oh well....Instead you could setup a universal db to collect all the orderinformation, and the store name. Have the
[sendmail] direct the store to aprivate usr/pass protected .tmpl file that would do the search for theirstore name and return the order information. You can then allow the storeowner to delete the record in the db after processing.Better yet, train the store owner to check this private URL a few times aday or as needed to pick up his orders and forget the [SendMail}notification all together.When I first looked at WebCat2 I thought WOW 100 data bases! Seems likethey get used up in rapid fashion doing specific small functions. Thecreation of universial db's that can be used by many sites seems anecessary approach. Much like the CA_TAX.db could be used by any site thatneeds CA sales tax by zip. Thus my suggestion for the above. By addingthe store name to the db, any store can use the some db to do this searchfor their orders. I may have missed something here but it seems the way Iwill go.Now for my question...I have been using the 'ClassifiedAds' example to do some work. I need toallow the 'poster' of the add to edit or del AS WELL AS the siteadministrator. Perhaps it is because it's Friday and my brain hurts,because I just can't think of a way to do this.Any help??<--Glenn-->~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Glenn & Renee DavisExclusively Web / Net Highway (916) 887-0678Web Page Design / Hosting ServicesPOB 157, Cool,CA 95614-0157http://www.ExclusivelyWeb.comhttp://www.Net-Hwy.com &&& ||| (@ @) (@ @)----------------------------ooO---U---Ooo---------------ooO--(_)--Ooo------->> Mailto:renee@Net-Hwy.com Mailto:glenn@Net-Hwy.com Mailto:renee@ExclusivelyWeb.com Mailto:glenn@ExclusivelyWeb.com Graphics Design Webmaster
Glenn Davis
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:
Round up prices (2000)
price carry over (1997)
Are they really 'global tags'? (2002)
WebCat cannot handle compatible search parameters? (1997)
Replace Statement (1997)
WebCat2 - Getting to the browser's username/password data (1997)
AD Error Msg (1997)
OT (But could use some help) Meta refresh not working. (2001)
Re:Help name our technology! (1997)
Field Problem (2000)
WebDNA Writer Needed (1997)
random random links (1999)
passing a webdna variable into javascript/cgi (2002)
Links and urls (2005)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Multiple prices (1997)
[FoundItems] solved - thanks (1997)
All choices on IE different than Netscape (1997)
WebMerchant and Mac Auth Hub Help Please (1999)
Exclamation point (1997)