Re: More on the email templates

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11035
interpreted = N
texte = > >OK, I'm completely mystified now. What do you mean you can't use them? >Does it bomb? Do they substitute with error messages? > I'm sorry that I wasn't specific enough. What is happening, is that the webcatalog forms appear directly in the text of the email rather than being evaluated.For example in the Problems Template.txt I place a test to determine if I should show the billing address vs. the shiptoaddress.In the Problems Template.txt file I have:[hide-if [shiptocountry]=Specify_Country] Name: [shiptoname] Address: [shiptoaddress] City: [shiptocity] State: [shiptostate] Country: [shiptocountry] Zipcode: [shiptozip] [/hideif] Now, as a result of customer input [shiptocountry] is either left as our default option of Specify_Country or they select a country, the all of the above text appears in the email notification.If I place just a reference to any ShipTo kind of field without any showifs or hideifs the webcatalog reference isn't evaluated, so the email that gets sent out has the webcat form in it. e.g.In Customer Problem Template.txt I have:shipping your order to [shiptoname]In my email notice I get.shipping your order to [shiptoname]rather than whatever [shiptoname] is supposed to evaluate to!Curt ---------------------------------------------------------------------- | William Curt Eggemeyer Curt@mail.bzzzzzz.com | | BeeHive Technologies, Inc. | | http://www.bzzzzzz.com with a WebCam in Pasadena, California | ---------------------------------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Re: More on the email templates (Sven U. Grenander 1997)
  2. Re: More on the email templates (I like it) (w curt eggemeyer 1997)
  3. Re: More on the email templates (Grant Hulbert 1997)
  4. Re: More on the email templates (w curt eggemeyer 1997)
  5. Re: More on the email templates (Grant Hulbert 1997)
  6. Re: More on the email templates (w curt eggemeyer 1997)
  7. Re: More on the email templates (Grant Hulbert 1997)
  8. Re: More on the email templates (w curt eggemeyer 1997)
  9. Re: More on the email templates (Grant Hulbert 1997)
  10. More on the email templates (w curt eggemeyer 1997)
> >OK, I'm completely mystified now. What do you mean you can't use them? >Does it bomb? Do they substitute with error messages? > I'm sorry that I wasn't specific enough. What is happening, is that the webcatalog forms appear directly in the text of the email rather than being evaluated.For example in the Problems Template.txt I place a test to determine if I should show the billing address vs. the shiptoaddress.In the Problems Template.txt file I have:[hide-if [shiptocountry]=Specify_Country] Name: [shiptoname] Address: [shiptoaddress] City: [shiptocity] State: [shiptostate] Country: [shiptocountry] Zipcode: [shiptozip] [/hideif] Now, as a result of customer input [shiptocountry] is either left as our default option of Specify_Country or they select a country, the all of the above text appears in the email notification.If I place just a reference to any ShipTo kind of field without any showifs or hideifs the webcatalog reference isn't evaluated, so the email that gets sent out has the webcat form in it. e.g.In Customer Problem Template.txt I have:shipping your order to [shiptoname]In my email notice I get.shipping your order to [shiptoname]rather than whatever [shiptoname] is supposed to evaluate to!Curt ---------------------------------------------------------------------- | William Curt Eggemeyer Curt@mail.bzzzzzz.com | | BeeHive Technologies, Inc. | | http://www.bzzzzzz.com with a WebCam in Pasadena, California | ---------------------------------------------------------------------- w curt eggemeyer

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:

Searching multiple fields (1997) License for Sale? (2003) Error Log.db --however (1997) OT: anyone know how to prevent image hijacking with Apache? (2002) WebCat b13 CGI -shownext- (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) RE: Nesting [ListFiles] (1998) WebCatalog2 Feature Feedback (1996) [WebDNA] WebDNA restart script (2015) [addlineitems] display (1997) webcat2b12 CGI -- Date comparisons (1997) RE: How much ram??? (1997) Who is doing sign-ups-got it (1998) New [If] command question (2000) [WebDNA] FastCGI running more than one process! (2013) Searching a database... (2003) [SMSI] WebDNA is too good to go away! (2006) Sorting by date (1997) Protect Tag and Groups (1998) Emailer port change (1997)