jDownloadsownloads.com


Author Topic: Ask information for every file  (Read 3644 times)

0 Members and 1 Guest are viewing this topic.

Offline simonetravaglini

  • Newbie
  • *
  • Posts: 3
Ask information for every file
« on: 09.09.2013 12:12:49 »
Hello,
I need to put a button on every file listed that made an automatic request of information.
In order to avoid to write the HTML code for every file, I tried this:
<a
 href="mailto:info@mysite?subject=Richiesta%20informazioni%20{file_title}"><img
 style="width: 63px; height: 51px;" src="mail.jpg" alt="Richiesta Info">
</a>

But it write in the subject: Richiesta informazioni {file_title}
and don't substitute {file_title} with the single value.

Is it possibile resolve this problem?

Thank you very much!

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: Ask information for every file
« Reply #1 on: 11.09.2013 15:35:07 »
Hi,
where exactly have you past this text?
what is your version?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline simonetravaglini

  • Newbie
  • *
  • Posts: 3
Re: Ask information for every file
« Reply #2 on: 11.09.2013 15:44:31 »
Hi and thank for attention!

I use the last version of JD on joomla 2.5.

I put the code on Layout administration -> Files

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: Ask information for every file
« Reply #3 on: 11.09.2013 15:52:45 »
Quote
I put the code on Layout administration -> Files
This layout is also activated?
Have you used this placeholder also on another position in this layout?
Edit: Post here the layout.
« Last Edit: 11.09.2013 15:53:52 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline simonetravaglini

  • Newbie
  • *
  • Posts: 3
Re: Ask information for every file
« Reply #4 on: 11.09.2013 17:04:16 »
Of course!
The html code works, but {file_title} in email subject is not converted with the value correspondentant!

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: Ask information for every file
« Reply #5 on: 12.09.2013 15:39:11 »
Okay, then check what you have exactly in the generated html source code (use browser function to view it).
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!