Support » Plugin: Lana Downloads Manager » feature request: open link in new window

  • Resolved oskars

    (@oskars)


    Hi,
    after you solved my first problem i am very happy with the plugin.
    Thanks a lot.
    Now i have two feature requests.
    – i think it would be nice if you can choose between downloding a file or open it (in a new window)
    – the only thing what´s in my opinion is not so nice: the icon in the editor bar.
    I would prefer a button like the “media” button.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lana Codes

    (@lanacodes)

    Hi,

    1.) Open
    Logically, this is a download manager because it does not include WordPress, and opening manager slightly different.
    You can add a WordPress media file (like image, document, etc.) using the “Add Media” button. And you can choose to “Link to” option. Yes, I know it’s not the same and there is no counter and no log, but you can use this for your purpose.
    Technically, the problem is that the download manager works in PHP, but opening something in a new window can not be done in PHP, this can be handled in JS (because PHP is server-side and JS is client-side and there is a browser at the client). So I think this is impossible to do with the download manager.

    2.) WP Media Buttons
    Yes, I understand what you want. But WordPress standard is that there are buttons in the TinyMCE toolbar, because it is linked directly to the editor (and there are some default functions and procedures).
    Buttons in the WP Media Buttons section are logically linked to WordPress rather than to TinyMCE editor (yes, it will eventually be added to TinyMCE, but it is completely different).
    It is technically possible to add a button, but for this you need to develop several JS codes. For this I need to develop a separate plugin. I can only do this for a freelancher order (I think 30-60 minutes development, so 10-20 USD).

    I hope I could help you, and if you have any other questions, please contact me with confidence.

    Sincerely,
    Lana Codes

    1.) Open
    Sure i can use a normal link. The reason why i am using your plugin is i can insert one price list in several pages, after updating the price list i don not have to change the link in all pages. I change only the file in your download plugin. Perfect.
    Never say that something is impossible -> with php you can write out js 😉

    2.) WP Media Buttons
    How do you want to have the Money?
    Here´s my mail: mail@ost-studio.com

    Plugin Author Lana Codes

    (@lanacodes)

    1.) Open
    Yes, combined with PHP and JS is possible.
    Only the download manager is pure PHP because it works in every case and it can be a community plugin for everyone.

    Open with JS is very special because JS can easily interfere with other JS codes. Website specific. I find it realistic for you as a separate plugin. I’m writing a price on email.

    2.) WP Media Buttons
    I’m writing an email. 🙂

    Sincerely,
    Lana Codes

    Plugin Author Lana Codes

    (@lanacodes)

    I sent you an email from info@lana.codes, did you receive it?

    Sometimes the email arrives in the spam folder, please check it out.

    Sincerely,
    Lana Codes

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘feature request: open link in new window’ is closed to new replies.