Not Solved [General] Difference between activate and install
#1
Not Solved
Hi!
What is the difference between activate and install in plugin develop?
Reply
#2
Not Solved
ACTIVATE = Turned ON , is ACTIVE

A plugin can be "installed" but not activated.

A plugin can not be "activated" if "not installed".
Reply
#3
Not Solved
In general:

install = create database tables, settings
activate = make template changes (things that make a plugin *visually* active, if anything)
deactivate = revert template changes
uninstall = deactivate + revert database changes, remove settings

Note: deactivate should not destroy any data the plugin stores.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply
#4
Not Solved
Thanks ! Smile
Reply
#5
Not Solved
(2016-09-25, 02:13 AM)Josh H Wrote: uninstall = deactivate + revert database changes, remove settings

Note: deactivate should not destroy any data the plugin stores.

I wish I would have known this before I uninstalled my plugin and it messed up everything!! Thanks
Reply
#6
Not Solved
I tend to add a warning page into my larger plugins on the uninstall step as a "are you really sure" confirmation. Shame that wasn't done as standard.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)