1 Reply Latest reply on Jul 16, 2009 6:12 PM by Günter Schenk

    Template If Statement

    waycow Level 1

      Is there additional mark up language to use for the html template files used to send out emails. I know that {recordset.columnvalue} and {transaction} and also {POST.value}.

       

      Is there a way to do if statements or conditions in these html files?

       

      Does anyone have any ideas?

        • 1. Re: Template If Statement
          Günter Schenk Level 4

          Hi there,

           

          waycow wrote:

           

          Is there a way to do if statements or conditions in these html files?

           

          regretfully not, because these files would to be .php files to contain/render conditions. But even if you´d rename them to .php and define conditions in there, all implemented dynamic stuff (tried that myself once...) will not get parsed, because ADDT calls those template files using the fread() - function, what works for static HTML files, but not for PHP files which would to be called using the include() function for getting processed by the PHP binary.

           

          Cheers,

          Günter