Recent Topics

1 Aug 13, 2007 01:41    

Is it possible to install two entirely separate copies of the same plugin? I'm not talking about clicking the "Install #2" link. I'm talking about having two entirely separate copies of the same plugin, so that the specific code in the second copy could be altered... for example, to change a pair of H2's to H3's, or to change the class of a UL or LI. I tried renaming the plugin code ID in the plugin PHP file itself, and have changed pretty much every other part of the plugin such as "$var name" and $var code" to be unique to the second copy, but can't seem to get the second copy to appear... Is it even possible to do this?

jj.

2 Aug 13, 2007 09:20

Yep, you just need to do a tad of renaming

If it's in a folder then the folder must be the name of the plugin ( ie: /foo_plugin/ )

The file itself must also be the name of the plugin ( ie: _foo.plugin.php )

Finally the classname must match as well ( ie: class foo_plugin extends Plugin )

¥


Form is loading...