Open in a new tab/window

in Download Manager Free

Viewing 10 posts - 1 through 10 (of 10 total)
Jul 13, 2017 at 11:01 am
#60390
Member
Rolf Dirks
OP

Hello,

How can I open the download in a new window?

Jul 13, 2017 at 3:16 pm
#60421
Keymaster
Shahjada
Staff

Sorry, no such option is available with free version. This is possible with pro version using the template builder, but only applicable for public downloads.

Feb 23, 2018 at 6:37 pm
#70294

Hi, how can I do this with the pro version?

Feb 23, 2018 at 8:13 pm
#70304

Hi, you can use custom template with direct download link shortcode with link tag and target _blank to open download in new tab.

Thanks

Mar 4, 2020 at 12:52 pm
#121374
Participant
Sebastian

i use the pro version an the shortcode wpdm_all_packages

i set the view options in the settings but i want to view in a new tab or window. How?

Mar 6, 2020 at 5:44 pm
#121509
Moderator
Nayeem Riddhi
Staff

Hi,
you can follow the link below documentation,

Template Files


by default, you are using link-template-default.php for link template and page-template-default.php for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in tpls>page-templates for page template or tpls>link-templates for link template. And you have to replace [download_link] with <a href="[download_url]" class="btn btn-primary" target=_blank>[link_label]</a> in related php file.

Thanks.

Mar 11, 2020 at 12:28 pm
#121793
Participant
Sebastian

Hi there..

i guess i didn’t understand it right..

– created a dir named download-manager in my child theme dir
– copied the link template in it
– added [link_label] instead of [download_link]

but it doesn’t work..

<!– WPDM Link Template: Default Template –>

<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[page_link]</h3>
<div class=”text-muted text-small”><i class=”fas fa-copy”></i> [file_count] [txt=file(s)] <i class=”fas fa-hdd ml-3″></i> [file_size]</div>
</div>
<div class=”ml-3″>
[link_label]
</div>
</div>
</div>
</div>

Jun 23, 2020 at 10:51 pm
#131319
Participant
Gregory Dietrich

So I just tried to follow this…and it isn’t working for me.

This is my page: https://evergreenmaids.com/employee-resources/sds, I’m using the shortcode of [wpdm-all-packages].

In my theme, I created the new directories and copied the files and updated the [download_link]. Here are some screenshots:

Structure: https://s.grcwk.co/P8ue9jkg

Page Template: https://s.grcwk.co/o0uveBEP

Link Template: https://s.grcwk.co/6qu2r7Qn

What did I miss here? I am using the Pro version.

Jun 24, 2020 at 5:24 am
#131342
Participant
Sebastian

Yeah.. i didn’t get a answer so far… it doesn’t work.. posted on 11.03.2020

Jun 25, 2020 at 1:53 pm
#131530
Moderator
Nayeem Riddhi
Staff

Hi @ffsupport,

please open a separate ticket for this. I shall check it for you

Thanks.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic "Open in a new tab/window" is closed to new replies.