• Resolved webcart

    (@webcart)


    Hi
    Great plugin ??
    Few things I could not find how to:
    1. Tree view with 1st level of sub-categories opened.
    2. Search for categories names and not only file names.
    3. Open PDF file in a new tab and not in the same tab.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Nayeem Hyder

    (@nriddhi)

    Hi,

    1. Tree view with subcategories should work.
    2. Search for package names will be available but not uploaded file files or selected files.
    3. For opening files in a new tab, you can follow this doc, https://www.wpdownloadmanager.com/doc/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.

    Thread Starter webcart

    (@webcart)

    Thanks.
    1. I meant that all level of sub-directories will be shown as opened.
    2. OK. So I can not search for categories names in one package but only file names in that package.
    3. Great solution. Thanks.

    Thread Starter webcart

    (@webcart)

    Hi
    Regarding #2 downloading in a new tab – I could not manage to solve it as your instructions.
    The files which I refer to are the files in the Tree View.
    I even tried to change the two files as you instructed in the original location but no change.
    I have changed some folders name in the original location like tpls, tpls3 and more directories to other name so they will not be available and still the Tree view worked as before like it does not take any data from those directories.

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Hi,
    As it is now, keeping all nodes expanded is not possible without code customization.
    However, to open files in a new window, you need to replace location.href = file; with window.open(file);:

    Thread Starter webcart

    (@webcart)

    Much appreciate your help!
    If there were 7 stars, I would give you..
    That did the trick. Thanks.
    The problem I had before is that I searched the files in the other plugin files.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcodes’ is closed to new replies.