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:

weird user / authenticate happenings (2003) Non-repeating Random Numbers - CORRECTION (2002) [WebDNA] Mondy morn... [date] question (2009) cookies and [returnraw] (1997) [Replace] (2000) RE: setting cookies then redirecting? (1998) [ShowIf] if the varieable exists (1998) security (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) Cookies (1999) emailer (1997) problems with 2 tags (1997) Anyone running WebMerchant 4.0? (2000) Comments in db? (1997) SV: Mass Mail (2000) same product in cart (1997) Spamming this list! (2000) [if][/if] weirdness (2000) Rendering out a page-test results (1997) Search results templates (1996)