[include] error message (was:Re: how to put/keep productcustomization info in basket?)

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21206
interpreted = N
texte = Much better!However, something strange is happening with the [Include] I'm using to supply the customization forms;Although the browser shows the correct [include] file (an input form that changes depending on the SKU), when I view the page source I see: Error: template '/Globals/[Customize]' not foundThe form appears to be working fine, but the error message is worrisome, and the page layout seems to be affected as well.Here are the relevant snippets.
[Include file=/Globals/[Customize]&raw=F]
Please provide birth details! In the space below, please provide the following:
  1. Child's Full Name
  2. Mother's Full Name (Include Maiden Name)
  3. Father's Full Name
  4. Time and Date of Birth
  5. Hospital
  6. City and State of Hospital
  7. Physician
  8. Gender of Child
   Any thoughts?Regards,Dale> >TextA-E are provided for just this reason. Your problem is that you're >passing variables named Colors between pages, when the lineitems has no >such field name. Just ask for textA, textB, and textC once at the >beginning (the Add command), and don't touch or use them at all until you >need to display them at the end. There is no need to pass them from page >to page -- they're already stored permanently in the cart (per linitem) >when you Add them. > >Get rid of all that extra stuff in steps 2-3. > Associated Messages, from the most recent to the oldest:

    
Much better!However, something strange is happening with the [include] I'm using to supply the customization forms;Although the browser shows the correct [include] file (an input form that changes depending on the SKU), when I view the page source I see: Error: template '/Globals/[Customize]' not foundThe form appears to be working fine, but the error message is worrisome, and the page layout seems to be affected as well.Here are the relevant snippets.
[Include file=/Globals/[Customize]&raw=F]
[cart]> Please provide birth details! In the space below, please provide the following:
  1. Child's Full Name
  2. Mother's Full Name (Include Maiden Name)
  3. Father's Full Name
  4. Time and Date of Birth
  5. Hospital
  6. City and State of Hospital
  7. Physician
  8. Gender of Child
   Any thoughts?Regards,Dale> >TextA-E are provided for just this reason. Your problem is that you're >passing variables named Colors between pages, when the lineitems has no >such field name. Just ask for textA, textB, and textC once at the >beginning (the Add command), and don't touch or use them at all until you >need to display them at the end. There is no need to pass them from page >to page -- they're already stored permanently in the cart (per linitem) >when you Add them. > >Get rid of all that extra stuff in steps 2-3. > Dale Stokdyk

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:

WebCat B13 Mac CGI -- Frames question (1997) notification solutions (1997) Summing fields (1997) Re:no [search] with NT (1997) Summing fields (1997) Fulfillment e-mail? (1998) Multiple adding (1997) Stumpted Again (1997) syntax question, not in online refernce (1997) linetiems in thankyou.tpl (1997) Error Lob.db records error message not name (1997) Mac v. NT (1998) [WebDNA] [sendmail] relies on *something* to be set server side.. What? (2009) [TCPSend] and whois? (1999) OK, here goes... (1997) [WebDNA] Use of MySQL with WebDNA (2010) When do we get to request new features? (1999) [listfiles] with max? (2000) Mystery authentication (1997) What file? (1997)