ZenphotoCMS Forum
Rename plugin: problem in administration - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Rename plugin: problem in administration (/thread-7448.html)



Rename plugin: problem in administration - hucste - 2010-08-09

Hello,

If y try to rename plugin zenPaypal in zenPayPal (renaming folder and files correctly), in section administrative in 'plugins', i'm viewing this :

Quote:zenPayPal v1.1.7 zenPayPal Plugin for PayPal Integration
Information sur l'utilisation
Auteur Ebrahim Ezzy (Nimbuz) , adapted as a plugin by Stephen Billard (sbillard) , modified by Stephane HUC (hucste)
But, when i coche and save the choice, the Administration display 'Saved' but the coche before the plugin's name is already uncoche and the plugin is inactive.
Why ?




Rename plugin: problem in administration - sbillard - 2010-08-09

Does the plugin have any code involving the $plugin_disable varialble? Also, the change was just the capitalization? Maybe you will have to remove the old option from your options database because of the case difference.




Rename plugin: problem in administration - hucste - 2010-08-09

i'm not use this variable. Do I?




Rename plugin: problem in administration - sbillard - 2010-08-09

That variable is only used if a plugin needs for some reason to override the enable options. So probably you do not need it.