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:

Browser (agent) stats... (2004) Unix webcat perms & multiple versions of same db in cache issue (2000) [Sum] function? (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Simple Database close connection (2001) RE: Ongoing group search problems ... (1997) WC Database Format (1997) with Link i need to (1997) Re:no [search] with NT (1997) Another option (2005) Re:quit command on NT (1997) Plugin or CGI or both (1997) Problems searching from a FORM (1997) Nav. 4 probs with cart (1997) Smart caching problems with 2.1b3? (1997) 2nd WebCatalog2 Feature Request (1996) WebCat2 several catalogs? (1997) removing programming logic white space (2003) WebCat2b13 Command Reference Doc error (1997) Webcatalog server support (1997)