Ed Ammendola

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 20 total)
in reply to: Items per page is not working #165173

Ed Ammendola
Member
This reply has been marked as private.
in reply to: Items per page is not working #165128

Ed Ammendola
Member
This reply has been marked as private.
in reply to: Items per page is not working #165097

Ed Ammendola
Member

Humayon, As I stated previously items_per_page is exactly what is not working. Can you please provide me with your country and IP address? I am having my networking team look to see if anything is blocking you from logging in.

in reply to: Items per page is not working #165035

Ed Ammendola
Member
This reply has been marked as private.
in reply to: Items per page is not working #164973

Ed Ammendola
Member

Setting “Notify me of follow-up replies via email” as checked

in reply to: PDF link intermittently throws error #111140

Ed Ammendola
Member

To anyone reading this. A version update provided a fix for this, as well.

in reply to: wpdm-functions.php custom overrides #111137

Ed Ammendola
Member

I was looking in the wrong place for my changes. Thank you for your response. I will close the question.


Ed Ammendola
Member

You may disregard the last post from me regarding the class.Package.php override. I was able to keep class.Package.php as provided by the most recent version update and make all necessary changes to the wpdm-all-downloads.php file in my custom overrides folder. Thank you.


Ed Ammendola
Member

I need to know how I can retain the class.Package.php file, as well.

I tried moving class.Package.php to both of these places and it is not picked up:
\wp-content\themes\my-theme\download-manager\class.Package.php
\wp-content\themes\my-theme\download-manager\libs\class.Package.php


Ed Ammendola
Member
This reply has been marked as private.

Ed Ammendola
Member
This reply has been marked as private.

Ed Ammendola
Member

I admit I may not have been clear with the first part of my question.
You are correct “page_link” does make the title a link, but I don’t want a link to the download page. I want a link to the file itself.

The second part of the question you did not address at all.

To summarize my initial question.
I want the title to be a link that opens the actual file in a new tab.

in reply to: Download category page template #109999

Ed Ammendola
Member

PR version? Maybe you meant Pro version?

If that is the case, which of the added features provides this functionality? Custom Templates?

in reply to: Download category page template #109938

Ed Ammendola
Member
This reply has been marked as private.
in reply to: Download category page template #109823

Ed Ammendola
Member

I think you are not understanding what I am asking. I will try to make it more clear, but it is taking a long time just to get a response from WPDM. It took six weeks for you to answer.

I am using a code similar to what you have shared. Mine looks like this:

[wpdm_category id="human-resources" operator="IN" title="" desc="" toolbar="0" order_by="title" order="asc" item_per_page="999" template="link-template-custom-category-page.php" cols=1 colspad=1 colsphone=1]

This is my custom template:

<!-- WPDM Link Template: Custom Category Page -->

<div class="wpdm-link-tpl c2a3" style="padding: 10px; background: #f5f5f5; border-radius: 4px; margin-bottom: 10px;">

    <div class="media">
        <div class="pull-left" align="left">
        [icon]
        </div>
 
        <div class="pull-right" align="right">
            <i style="margin: 2px 0 0 5px;" class="far fa-hdd color-green"></i> [file_size]
        </div>

        <div class="media-body">
        <h3 class="media-heading" style="padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;"><a href="[download_url]">[title]</a> <span style="margin-left:30px;font-size:8pt;font-weight:300"><br> Categories: [categories]</span></h3>
        </div>

    </div>

</div>

Which produces an output like this:

Screenshot 1

If you click on the hyperlink “Human Resources” (highlighted in Screenshot 1), you are taken to an unformatted page that looks like this:

Screenshot 2

It shows the documents in the category “Human Resources”, but the list is unformatted. How can I change this? The page title is “Archives”, so I can’t change the page directly.

in reply to: Recent update deleted all my custom templates. Thanks. #99630

Ed Ammendola
Member

I’ve figured it out. Hopefully, anyone else running into this problem will benefit from this thread.

Shafayet, regarding your comment about backing up before updating, I back up daily, if not more often. As I stated, I was able to restore the deleted file from my backup.

Doc Dunning, I appreciate you chiming in. However, my custom templates have unique names and those unique names are used within the template file, as well.

Shariar, your response got me on the right track. However, it was WP Download Manager “documentation” that got me in this mess in the first place.

For your reference.
https://www.wpdownloadmanager.com/doc/short-codes/

According to this documentation, you are to use the “Template ID” in your short-code to source the template you desire. This does in fact work IF your custom template is in the “\wp-content\plugins\download-manager\tpls\link-templates” folder. However, once you move your custom templates to the “\wp-content\themes\my-theme\download-manager\link-templates” folder they will no longer work if you use the Template ID alone. You must then add “.php” to the end of the Tamplate ID in your short-code or your custom template WILL show up in Downloads > Templates > Link Templates (tab), but will NOT be sourced when you view the page, widget, etc. you’re using the short-code on.

Just a wild guess here…
Maybe there is a difference in the plug-in code between the free and the pro version of WP Download Manager?

in reply to: Recent update deleted all my custom templates. Thanks. #98690

Ed Ammendola
Member

My apologies for not responding sooner. Your emails were going to my junk box. I’ve corrected that.

I understand custom overrides, so I tried this. The process described in the information you provided does not work.

I moved my two custom (link) templates from “\wp-content\plugins\download-manager\tpls\link-templates” to “\wp-content\themes\my-theme\download-manager”. After that, the custom templates were not not displaying correctly and no longer showed up in Downloads > Templates > Link Templates (tab).

Then, I moved my two custom (link) templates to “\wp-content\themes\my-theme\download-manager\link-templates”. Now they show up in Downloads > Templates > Link Templates (tab), but are still not being sourced and my pages are not displaying correctly. I refreshed pages, I cleared my cache, nothing helped.

Then, I moved my two custom (link) templates back to “\wp-content\plugins\download-manager\tpls\link-templates” and they started working again.

So please enlighten me as to what I am doing wrong or differently than what is being described here: https://www.wpdownloadmanager.com/doc/template-files/

in reply to: PDF link intermittently throws error #98687

Ed Ammendola
Member

My apologies for not responding right away, but your emails were going to my junk folder.

I repaired the issue by changing line 35 of class.DownloadStats.php.

From this: $udl[“{$index}”] = isset($udl[“{$index}”])?$udl[“{$index}”]+1:1;

To this: $udl[“”.$index] = isset( $udl[“”.$index] ) && is_numeric( $udl[“”.$index] ) ? $udl[“”.$index]+1 : 1;

Hopefully this will be fixed in the next update.

in reply to: Unable to get WPDM short codes to work. #95205

Ed Ammendola
Member

Kazi,

Thank you very much for the prompt response! I see it was my error in how I was using the shortcodes. And thank you for providing examples. Very good support.

in reply to: Unable to get WPDM short codes to work. #95178

Ed Ammendola
Member
This reply has been marked as private.
Viewing 20 posts - 1 through 20 (of 20 total)