PDA

View Full Version : How to update plugin on local machine?



Tim Copper
February 18, 2022, 07:13 AM
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.

Rudi
February 18, 2022, 09:08 AM
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');

Kaniel Outis
February 18, 2022, 04:58 PM
Hello Rudi! what is it? I didn't understand how it should look, please show me

Tim Copper
February 19, 2022, 05:20 AM
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 :(

Kaniel Outis
February 21, 2022, 12:46 PM
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...

Tim Copper
February 21, 2022, 02:10 PM
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.

Rudi
February 21, 2022, 02:27 PM
Here is what I mean:

4496

google how to open the console via shortcut for your browsers

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

Kaniel Outis
February 21, 2022, 02:54 PM
Wow Rudi! Thanks! So easy))) Amazing!

Tim Copper
February 22, 2022, 04:15 AM
Here is what I mean:

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