Custom Template for Package

Viewing 25 posts - 1 through 25 (of 27 total)
#188553

Ernie high
Participant

My client is using the latest version of Download Manager Pro.
When updated recently their custom template stopped working and placed everything into an HTML table.
Tried switching to prebuilt templates everything shows as an HTML table.

<tr><th>File</th><th>Action</th></tr>
what is wanted is a HTML list of single files for this pacakge

Tried redoing custom template but none of the existing tags produce a list.
Custom tags do not support PHP so there is no way to create a loop.

Is there a hook where I can modify the output of the download-manager\src\Package\FileList.php

#188560

Nayeem Riddhi
Moderator

Hello Ernie high,

Hope you are well. Are you trying to backup safely your files? you can follow this doc,

Template Files


please elaborate more in detail on what you are trying to adjust, for template tags, you can explore this doc too,

Template Tags

please check and let me know

Thank you and regards

#188611

Ernie high
Participant

I sent a “private reply” to this that included screenshots and login info.

I did so logged in as my self and again as my client on WP Download Manager Pro. Why are these replies not showing?

#188613

Nayeem Riddhi
Moderator

Hello Ernie high,

You can again reply with proper text formatting, so it will not go to spam. please check and let me know.

Thank you and regards

#188634

Ernie high
Participant

I have sent 5 replies?
Can you explain “proper text formatting”
WTF?

#188635

Ernie high
Participant

Before your updating we would go to Downloads -> Templates create custom templates
Before Update

After the update these custom templates no longer work
After Update

The client does not want the ugly HTML tables but a simple list.
Wants to be able to use the single download label instead of “Download”

Hopefully this is “formatted” and I get an actual reply

#188636

Ernie high
Participant
This reply has been marked as private.
#188640

Nayeem Riddhi
Moderator

Hello Ernie high,

Can you please share the related URL where you are using the custom template? please check and let me know

Thank you and regards

#188661

Ernie high
Participant

Because this is a live site and they don’t work no packages are using the custom templates.

I restored the custom templates so they show in the dropdown but no packages are using them.

If you want you can assign a package any custom template such as custom I just asked you reset it to “Default”

#188669

Nayeem Riddhi
Moderator

Hello Ernie high,

The client does not want the ugly HTML tables but a simple list. Can you please let me know which template/custom template depends on this? please check and let me know

Thank you and regards

#188683

Sitcom Software
Participant

Hello,

i would like to override the link-template-bsthumbnail.php in my child theme but if i create a copy of this template in mychildtheme/download-manager/link-templates/link-template-bsthumbnail.php, my overrided tempalte is note considered…

im’ using the free version of download manager…

Any help ?

thank you

#188690

Sitcom Software
Participant

it’s ok i did it (i’ve made a mistake in the file name in my child theme…. 😉

#188709

Ernie high
Participant

What are you talking about? It doens’t matter which package or which custom template they are all broken since the update.

Is there someone there that understands english

#188712

Ernie high
Participant

You will need to use the login I provided 3 days ago to view this package Sheet
It is using custom templates that were working before the update settings

#188717

Nayeem Riddhi
Moderator

Hello Ernie high,

I have tested the issue regarding the CSS FILE LIST custom template. However, I have also found that the packages are not viewable

OLG Sibelius App

DCM A Worship Aids & Readings

The package URLs are giving This page isn’t working error. please check and let me know

Thank you and regards

#188744

Ernie high
Participant

Not sure what was done. I just had to manually update 20 packages. They are all viewable now.
However, there is no change the custom page template nor the custom link templates are working.

This has been going on for over a week, getting a little discouraged here

You said you tested the custom page link what did you find? Is there a fix?

#188763

Nayeem Riddhi
Moderator

Hello Ernie high,

I have checked the package and download URLs here

LC Sheet Music

It is not working properly as expected. I think it may have a conflict between your plugins or theme. can you please enable/disable other plugins for checking, you may also switch the theme to another for checking. please check and let me know

Thank you again and regards

#188769

Ernie high
Participant

I know it is not working properly, that is why I contacted support 10 days ago.

I had already checked for conflicts before wasting my time here. I just readded Health Check & Troubleshooting plugin and ran another check all plugins except WP Download Mamager Pro deactivated. The current theme is Twenty Twentyone but checked on Twenty Twenty Three. Downloaded a fresh copy of Twenty Twenty One.

No change it still does not work properly.

#188773

Nayeem Riddhi
Moderator

The download is working properly now, it was causing issues because of ourWPDM – PDF Stamper add-on, deactivating temporarily is working properly now. I am going to forward the issue to our related team authority. Thanks for your appreciation.

Thank you again and regards

#188775

Ernie high
Participant

Do you even understand what it is I am having issues with?
I apologize but I need to speak with someone that understands the problem.

While I do appreciate you pointing out a separate issue I was unaware of in the WPDM Stamper. Your solution is not doable. The client pays $90 for a WPDM extension that breaks their downloads. Your solution is to not use the extension they just paid you for?

Again I am looking to customize the HTML on the package using the custom template functionality.
I do not want the default table layout

table

but a list
list

If you do not understand this please find someone that does.

#188778

Nayeem Riddhi
Moderator

Sorry for the inconvenience for that. I think you are talking about the [file_list] files layout table design. For customizing this part design you may have to customize the core PHP file wp-content\plugins\download-manager\src\Package\FileList.php from here. Find here the callback function for [file_list]. please check and let me know, if I got your main problem.

Thank you again and regards

#188813

Ernie high
Participant

Your statement
“Find here the callback function for [file_list]. please check and let me know, if I got your main problem.”

Does not link to anything. And yes modifying the core file and fixing the shortcode [file_list] My problem is why was this not addressed with the update?
So it did not break everything in earlier versions, kind of like “backwards compatibility” like most WordPress plugins.

Please send me a link to the documentation for the file list functionality

I am very disappointed in the product and support we have received.

#188817

Nayeem Riddhi
Moderator

Sorry for the inconvenience again. We are trying to give our best effort support like other users to you. However, it can be vary due to understanding. For editing the file list file we do not have such any doc, however, you can check our main doc,

https://www.wpdownloadmanager.com/docsfor/download-manager-pro/

Now, please let me know, how more effectively we can help you, thus your requirements/issues will be solved.

Thanks for your appreciation.

#188830

Ernie high
Participant

Right now apparently there is nothing you can do.

I would like to get a copy of WPDM V6.0.0 &/or 6.1.5

Also we need to do something about the PDF Stamper. My client paid for extension that crashes the site?

#188837

Nayeem Riddhi
Moderator
This reply has been marked as private.
Viewing 25 posts - 1 through 25 (of 27 total)

The topic ‘Custom Template for Package’ is closed to new replies.