За да изпробвате хилядите добавки, достъпни тук изтеглете Mozilla Firefox – бърз и свободен начин да разглеждате Мрежата!

Затваряне

Добре дошли в Добавки за Firefox.

Изберете измежду хилядите възможности и стилове, за да направите Firefox изцяло ваш.

Затваряне

On the go?

Check out our Mobile Add-ons site.

Затваряне

Nap

За мен

Информация за разработчика
Име Nap
Потребител от Фев. 10, 2015
Брой добавки 0 добавки
Средна оценка на добавките Без оценка

Мои отзиви

Mail Merge

Оценена с 5 от 5 звезди

Great add-on, and thanks for showing me what I did wrong.

(I have updated my review in light of Alexander's clarification of an issue I had with conditional statements, and to help others avoid the mistake I made.)

In case anyone else has an issue with conditional statements not working as intended, you may have a syntax issue. Taking one of the If/Then/Else constructs as an example, say '{{var|$|if|then|else}}', let me explain;

Af first glance, you may think, as I did, that in order to make that statement work, you would simply substitute the parameters with your variables. Thus, you might write something like the following:

{{{{JobTitle}}|$|{{TestField}}|{{ThenField}}|{{ElseField}}}}

However, this is incorrect!! The right way to implement this would be to use (notice the lack of curly brackets around JobTitle):

{{JobTitle|$|{{TestField}}|{{ThenField}}|{{ElseField}}}}

The conditional syntax is actually an extension of how variables are represented, rather than a separate construct. So, to use the job title field in your email without conditions you would refer to it simply as {{JobTitle}}.

Note that you can use string literals, variables, or combinations of these, as the 'if', 'then', and 'else' parameters. It may also be possible to perform indirection on 'var' if you construct 'var' from variables and text, but I haven't tried this.

Това е отзив за предно издание на добавката (4.12.0).