+ Reply to Thread
Results 1 to 9 of 9

Thread: How to update plugin on local machine?

  1. #1
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    256

    How to update plugin on local machine?

    Hi guys,

    How do I update plugin on local machine? Say I have an old multifield plugin. And I download a newer version on Flynax website? How do I update the plugin properly on local machine?
    I tried replace the plugin folder and it did not work as intended.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,169
    Hello,

    - copy the directory with plugin update to /tmp/upload/

    - run the following code via your browser console on the plugins page:

    plugin.update('PLUGIN_KEY');
    Last edited by Rudi; February 18, 2022 at 09:16 AM.

  3. #3
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    Hello Rudi! what is it? I didn't understand how it should look, please show me

  4. #4
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    256
    Quote Originally Posted by Rudi View Post
    Hello,

    - copy the directory with plugin update to /tmp/upload/

    - run the following code via your browser console on the plugins page:

    plugin.update('PLUGIN_KEY');
    Hi Rudi, thank you so much for the info. I understand that for example multifield, I need to download the new plugin version, extract it so it will have the folder: localhost/tmp/upload/multifield

    I'm not too sure about the second step:
    - run the following code via your browser console on the plugins page:
    plugin.update('PLUGIN_KEY');

    Did you mean going to localhost/admin/index.php?controller=plugins?

    Sorry I'm not familiar with such process

  5. #5
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    Hello Tim!
    Have you solved this quest?))
    I tried to do so localhost/admin/index.php?controller=plugins?plugin.update('multif ield');, but got a blank page...

  6. #6
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    256
    Quote Originally Posted by Kaniel Outis View Post
    Hello Tim!
    Have you solved this quest?))
    I tried to do so localhost/admin/index.php?controller=plugins?plugin.update('multif ield');, but got a blank page...
    Hey unfortunately no. I'm still waiting for Rudi's clarification.

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,169
    Here is what I mean:

    Screen Shot 2022-02-21 at 8.20.38 PM.png

    google how to open the console via shortcut for your browsers

    or you can use right-click on your mouse > Inspect Element > Console

  8. #8
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    Wow Rudi! Thanks! So easy))) Amazing!

  9. #9
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    256
    Quote Originally Posted by Rudi View Post
    Here is what I mean:

    Attachment 4496

    google how to open the console via shortcut for your browsers

    or you can use right-click on your mouse > Inspect Element > Console
    Ah now I see. Thank you so much Rudi

+ Reply to Thread