News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Custom Fields with E-Mails

Started by Mad_Hatter, 23.07.2018 12:10:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mad_Hatter

Hello!

I have a problem
with making JDownloads sending information from a custom field in the File Upload Form to my test-Mail Adress.

The problem in Detail:
I Created the custom dropdown field (Configuration, Additional Datafields) and added in a Title and some values. Then I made sure to display the field in the user access configuration, so that I can see it when uploading a file. So far so good, the upload part is working just fine, but when I check the E-Mail I get, the variable name I entered doesn't seem to be right. Here is how my E-Mail looks: ?Mitteilung über eine Dateieinsendung!

Einsender: testuser
E-Mail: a@b.c
IP-Adresse: 178.189.219.129

Dateiname: test1.jpg
Titel: test3
Beschreibung:
Datum und Zeit: 23.07.2018

{custom_title_1}: {custom_value_1}

Dies ist eine automatisch generierte E-Mail.?
And here is how it should look: ?Mitteilung über eine Dateieinsendung!

Einsender: testuser
E-Mail: a@b.c
IP-Adresse: 178.189.219.129

Dateiname: test1.jpg
Titel: test3
Beschreibung:
Datum und Zeit: 23.07.2018

Ausführung: Sport

Dies ist eine automatisch generierte E-Mail.?
. My E-Mail Layout in Configuration looks like this: Mitteilung über eine Dateieinsendung!<br />
<br />
Einsender: {name}<br />
E-Mail: {mail}<br />
IP-Adresse: {ip}<br /><br />
Dateiname: {file_name}<br />
Titel: {file_title}<br />
Beschreibung: {description}<br />
Datum und Zeit: {date}<br /><br />
{custom_title_1}: {custom_value_1}<br /><br />
Dies ist eine automatisch generierte E-Mail.


TLDR: Which variable name do I have to use for Custom Fields in E-Mails?
  •  

ColinM

Hi
If you look at the email setup the placeholders that are available do not include {custom_title_1}or{custom_value_1} - or any of the custom fields.At the present time the only ones available in notification of a download are {file_list} {ip_address} {date_time} {user_name} {user_email} {user_group}.  The file list will give you the name of the file that has been downloaded, or if it is via a checkbox layout the list of files in the zip that jD created
For Upload notification the available  items are {name} {mail} {date} {ip} {file_title} {file_name} {description}.
Are you trying to find out which Category (directory) into which the Download has been assigned?

At present jD does not support the Joomla! Custom fields but that is being worked upon.Colin
Colin M
  •