jDownloadsownloads.com


Author Topic: using custom HTML as file download link  (Read 3579 times)

0 Members and 1 Guest are viewing this topic.

Offline mikey186

  • Newbie
  • *
  • Posts: 3
using custom HTML as file download link
« on: 05.02.2014 05:25:22 »
Hello, I'm trying to find out that if there is a way to use the link to download on a custom html using the {download_link} (I think that's the tag for the layout), into a html tag (just like the screenshots tag). See I'm trying to combine jDownloads' layout along with Bootstrap's layout.

eg:
Code: [Select]
<a href="{linktodownload}" class="btn btn-default btn-lg active" role="button">Download file</a>
Is there a possibility way to do this or no?

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: using custom HTML as file download link
« Reply #1 on: 07.02.2014 12:10:06 »
Hi,
you will publish a simple download link in your content?
Sure, no problem. Go to a download button from your jD downloads and copy the required url. then can you use it for your content link.
« Last Edit: 07.02.2014 12:11:46 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline mikey186

  • Newbie
  • *
  • Posts: 3
Re: using custom HTML as file download link
« Reply #2 on: 23.02.2014 00:24:09 »
Hi,
you will publish a simple download link in your content?
Sure, no problem. Go to a download button from your jD downloads and copy the required url. then can you use it for your content link.

no, I need like a download link in the html using PHP something like:
Code: [Select]
<a href="<?php echo download link or category ?>">Download</a>would this be possible or do I have to 'hack' the jDownloads system to set it on PHP.

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: using custom HTML as file download link
« Reply #3 on: 28.02.2014 11:29:16 »
i understand not what you will exactly do.
check the jdownloads.html.php to find what you need.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!