Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : getting Custom Token attributes into the response emails to admin.

getting Custom Token attributes into the response emails to admin. il y a 1 an 2 mois #97692

  • ganaffe
  • Portrait de ganaffe
  • Hors ligne
  • Fresh Lemon
  • Messages : 2
  • Karma: 0
Hey all! I am running 2.0 and I was sad to see that the custom token attributes I set up aren't included in the Full Response email that is sent to the admin upon completion. These contain much needed information about the people taking the survey so I would love to put them in there.

I do see that the template for the detailed admin notification is {ANSWERTABLE}, so I will probably have to modify ANDSWERTABLE accordingly. However, I do see in the limereplacementfields.php file it DOES loop through the tokens in certain cases.

Help? Much appreciated!
L'administrateur a désactivé l'accès en écriture pour le public.

getting Custom Token attributes into the response emails to admin. il y a 1 an 2 mois #97718

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6334
  • Remerciements reçus 817
  • Karma: 243
Hello,

You can use all Expression in email template:
For example.
<strong>Token information</strong>
<ul>
<li>Token: {TOKEN:TOKEN}</li>
<li>Surname: {TOKEN:SURNAME}</li>
</ul>
<p><strong>The important answer</strong> : {QCODE.shown}</p>
<strong>Whole answers</strong>
{ANSWERTABLE}
L'administrateur a désactivé l'accès en écriture pour le public.

getting Custom Token attributes into the response emails to admin. il y a 1 an 2 mois #97730

  • ganaffe
  • Portrait de ganaffe
  • Hors ligne
  • Fresh Lemon
  • Messages : 2
  • Karma: 0
That was it!! Actually, all I had to do was edit the template and hit the little LIME button on the WYSIWYG and it showed me the options for the attributes!

Thank you for pointing me in the right direction!
L'administrateur a désactivé l'accès en écriture pour le public.

getting Custom Token attributes into the response emails to admin. il y a 1 an 2 mois #97734

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6334
  • Remerciements reçus 817
  • Karma: 243
I allways set "HTML editor in pop up" ;)

More easy for me.
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.123 secondes
Donation Image