Ugh… not working for me. Or maybe I am too clumpsy with the php editor.
It is xtrange. Days ago, it did work perfectly without the Form Lock plugin. Yesterday it broke. I had to download (and buy) the Form Lock Extension. And now it works, but users are not getting the download link after sending CF7 form. I guess it is something about redirection, but I can not configure it properly.
Thanks for your help!
This reply has been marked as private.
by default, you are using link-template-default.php for link template and page-template-default.php for the page template. you can follow this doc, https://www.wpdownloadmanager.com/doc/template-files/ for back-up your files, 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.
For opening in new windows, please add this code replacing [download_link] in page/link templates PHP file as i described above,
<a href="[download_url]" onclick="window.open('[download_url]','newwindow','width=1200,height=800'); return false;" class="btn btn-primary" target="_blank">[link_label]</a>
thanks
This reply has been marked as private.
This reply has been marked as private.
Hi,
From the package settings, you shall get the option page-template, you can also set link-template for the package shortcode, please check the shortcodes here from this doc, https://www.wpdownloadmanager.com/doc/short-codes/
thanks
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Yes, that was my question actually. What can I do to make it work on every page? The referred page is especially important because it is there that the people see the Login Link when a file is protected and they cannot download it if not connected.
There must be a conflict with the script I am importing but it’s just a simple jquery. There should be a workaround?
Let’s try to get at this another way. Why is it that embedded links in a pdf file which is presented by Download Manager fail to be clickable?
This reply has been marked as private.
Any reason why this is not showing that I clicked on the download link?
Hi,
Thanks for your reply.
At the link you posted (https://so-arbeitet-deutschland.com/download/whitepaper-gesundheit-arbeitszeit-leistungsdruck) it does not work for us, tested on multiple devices and browsers: once you enter the data you receive a message saying that the data were collected, but no download starts and you have again the window to insert data with blank fields.
The same happens for all other downloads managed by WP Download Manager.
Please let me know.
Hello Nayeem, thanks for coming back to me. I have checked the documentation and it doesn’t help with my issue. I need WPDM to provide the package id that can be used in the redirect url we provide to the login page. I.E. we want the redirect URL to include ‘wpdmdl=9607’. Where ‘9607’ is the package id.
On the plugins setting page we are using the following code for the ‘Login Required Message’:
<a href="/login/?action=mepr_unauthorized&redirect_to=[this_url]">DOWNLOAD NOW</a>
This is working fine for redirecting back to the page after login, but requires the user to click the link again to download.
If we could append the package id (wpdmdl=9607) to our ‘redirect_to’ querystring, this would redirect the user back to the page and start/display the download.
Is this possible, thanks.
-
This reply was modified 4 years, 9 months ago by
Matt Lambert. Reason: Add login required message to settings page
It doesn’t change anything, the error is still there, so i removed the [download_link] in the template.
Thanks
For category shortcode, you can set templates from Downloads > Templates and use the link-template, please check and let me know if it works for you
thanks
This reply has been marked as private.
Hi guys!
I’ve uploaded a file to:
Interviewer Aid PPTX
– and I’ve set the lock permissions to “Must agree to Ts and Cs” – but it just goes to a https://www.tbsequel.org/download/interviewer-aid-pptx/#unlock link – which bounces the user through to the front page?
Am I missing a step here?
Hello,
We’ve got the error message “Download Error File Not Found!” but not for all download links. This error appears only for the link packaging multiple files, the link to each file works.
The links worked before, the problems appeared recently.
Thanks for your answer.
This reply has been marked as private.
This reply has been marked as private.
you make a custom link-template and use there, [title] template tag, for more template tag, you can check this doc, https://www.wpdownloadmanager.com/doc/templates/template-tags/
thanks