What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] Moving to Sandbox broke price

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 101768
interpreted = N
texte = Is there any documentation that is newer than the 5.0 book I have now? Maybe I'm just not smart enough to get this stuff. I've read the "Replacing Commands with Contexts about a dozen times, but it's only about a page long. Does changing 'command' to 'action' do the trick? I checked and the old site is not using a formulas.db and I've changed about every pref I can see and nothing makes it work like the old one. The price works on the old site. If I make a sandbox, do I have to move it out of the sandbox folder to get it to function properly? The old site has been moved. I'm stumped. Tony Miller tmiller@thehawkeye.com On Jan 7, 2009, at 4:46 PM, Donovan Brooke wrote: > Tony Miller wrote: >> All, >> Can anyone see a problem with this code that would make the price >> not read properly after moving the TPL pages to a sandbox? The >> code works fine in the old location, but the price is $0 in the >> new location and hitting the back button adds another item to the >> page. >> Here's the code from the order page. It's just a webmerchant >> location right now and not using a sandbox: >> [search db=sbtickets.db&rnSKUdata=0+99&SKUsort=1] >> [foundItems] >> [showif [math]{[StartDate]}[/math]<[math]{[Date]}[/math]] >> [showif [math]{[EndDate]}[/math]>[math]{[Date]}[/math]] >> [Name] >> [Description] >> $[Price] >> >> Order >> [/showif] >> [/showif] >> [/founditems] >> [/search] >> ===================================================================== >> Here's the code from the next page: >> >> >> >> >> >> >> >> >> >> [lineItems] >> >> >> >> >> >> >> >> >> [/lineItems] >>
# NameDescriptionPriceQuantityWhoops!
[lineIndex][Name][Description]$[Price]> SIZE="3" VALUE="[quantity]">Remove Item
>> I'm learning that a bracket here and a double-quote there can make >> things act strange. On the final order page, it still has the >> price at $0. >> Thanks in advance. >> Tony Miller >> tmiller@thehawkeye.com > > > Hi Tony, couple ideas. If you are using a Formulas.db, you will > want to move that over as well. Also, you are using "old style" > commands (instead of contexts).. which are the "remove" and "add" > etc.. make sure those are allowed in the sandbox admin prefs. > > Donovan > > > > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 770-3822 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Moving to Sandbox broke price (Donovan Brooke 2009)
  2. Re: [WebDNA] Moving to Sandbox broke price (Tony Miller 2009)
  3. Re: [WebDNA] Moving to Sandbox broke price (Donovan Brooke 2009)
  4. RE: [WebDNA] Moving to Sandbox broke price ("Terry Nair" 2009)
  5. [WebDNA] Moving to Sandbox broke price (Tony Miller 2009)
Is there any documentation that is newer than the 5.0 book I have now? Maybe I'm just not smart enough to get this stuff. I've read the "Replacing Commands with Contexts about a dozen times, but it's only about a page long. Does changing 'command' to 'action' do the trick? I checked and the old site is not using a formulas.db and I've changed about every pref I can see and nothing makes it work like the old one. The price works on the old site. If I make a sandbox, do I have to move it out of the sandbox folder to get it to function properly? The old site has been moved. I'm stumped. Tony Miller tmiller@thehawkeye.com On Jan 7, 2009, at 4:46 PM, Donovan Brooke wrote: > Tony Miller wrote: >> All, >> Can anyone see a problem with this code that would make the price >> not read properly after moving the TPL pages to a sandbox? The >> code works fine in the old location, but the price is $0 in the >> new location and hitting the back button adds another item to the >> page. >> Here's the code from the order page. It's just a webmerchant >> location right now and not using a sandbox: >> [search db=sbtickets.db&rnSKUdata=0+99&SKUsort=1] >> [founditems] >> [showif [math]{[StartDate]}[/math]<[math]{[date]}[/math]] >> [showif [math]{[EndDate]}[/math]>[math]{[date]}[/math]] >> [Name] >> [Description] >> $[Price] >> >> [cart]&SKU=[url][sku][/url]&quantity=1"> Order >> [/showif] >> [/showif] >> [/founditems] >> [/search] >> ===================================================================== >> Here's the code from the next page: >> >> >> >> >> >> >> >> >> >> [lineitems] >> >> >> >> >> >> >> >> >> [/lineItems] >>
# NameDescriptionPriceQuantityWhoops!
[lineIndex][Name][Description]$[Price]> SIZE="3" VALUE="[quantity]">[cart]">Remove Item
>> I'm learning that a bracket here and a double-quote there can make >> things act strange. On the final order page, it still has the >> price at $0. >> Thanks in advance. >> Tony Miller >> tmiller@thehawkeye.com > > > Hi Tony, couple ideas. If you are using a formulas.db, you will > want to move that over as well. Also, you are using "old style" > commands (instead of contexts).. which are the "remove" and "add" > etc.. make sure those are allowed in the sandbox admin prefs. > > Donovan > > > > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 770-3822 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Tony Miller

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:

IE Cache Problems... (1999) Bug Report, maybe (1997) [ListFiles] from a remote host (2003) search form problem.. (1997) Template Cache problem (2000) Updating emailer (server) (2000) RE: Adding headers to email (1997) Running _every_ page through WebCat ? (1997) Replace Statement (1997) [Sum] function? (1997) Sorting search results (1998) Using WebCat for product info requests (1997) Feedback Please (2003) Sort Order on a page search (1997) encryption in browser? NOT (1998) Introduction/Tutorial/QuickStart (1997) Bug Report, maybe (1997) [protect] is protecting too much!!! (2000) RAM variables (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)