Page 1 of 1

Uploads module: custom fields on notification email template

Posted: Fri Nov 01, 2013 12:44 pm
by Evoken
Greetings,
I am using CMSMS 1.11.9 and Uploads 1.16.13.

I have a custom field on the Uploads module which is a text input that the user fills in along with the other default fields on the front end in order to submit a video. How can I print the value submited for this field on the notificaiton email template of the module?

The name of the custom field I'd like to include is 'cedula'. Here is the template for the notification email I currently have:

Code: Select all

<!-- Email notify template -->
<p><img src="{uploads_url}/a/i/logo-cerito.jpg"/></p>
<h2>Nuevo video enviado</h2>
<p>Este mensaje es para notificarle que un nuevo video ha sido enviado para la promoción del Cero de Oro. Los detalles del video son los siguientes:</p>
<p><strong>Título:</strong> <a href="{uploads_url}/videos/{$name}">{$name}</a></p>
<p><strong>Nombre del participante:</strong> {$summary}</p>
<p><strong>E-Mail:</strong> {$description}</p>
<p><strong>Tamaño del video:</strong> {$size}</p>
<p><strong>IP del participante:</strong> {$ip_address}</p>
{*<p>Author: {$author}</p>*}
<!-- Email notify template -->
Thanks in advance!

Re: Uploads module: custom fields on notification email temp

Posted: Fri Nov 08, 2013 3:06 pm
by Evoken
Bumping this, hopefully someone can help.

Re: Uploads module: custom fields on notification email temp

Posted: Tue Nov 19, 2013 7:05 pm
by Dr.CSS
Put {get_template_vars} in the 'uploads' template to see what the variable is called and how it compares to the others, then you should be able to include it in your email template...