Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-08-16 16:07:20
- fireblade
- New Member
- From: Russia
- Registered: 2007-08-08
- Posts: 6
Installing 2 copies of one plugin. Is it possibe ?
Well… i’m tuning some plugins, and now i had to install second copy of the same plugin (first is modifyed by me, second is author’s version) is it possible ? how can i do this…
Offline
Re: Installing 2 copies of one plugin. Is it possibe ?
Not possible, because you’d have duplicate function names and that would cause errors or warnings (not sure which, but it won’t work as you’d like)
Offline
#3 2007-08-16 16:14:20
- fireblade
- New Member
- From: Russia
- Registered: 2007-08-08
- Posts: 6
Re: Installing 2 copies of one plugin. Is it possibe ?
ruud wrote:
Not possible, because you’d have duplicate function names and that would cause errors or warnings (not sure which, but it won’t work as you’d like)
Of course i understand that i have to change function names :))
Right now i’m trying to do that via plugin development.
Offline
Re: Installing 2 copies of one plugin. Is it possibe ?
If the function names are different, then the tags the plugin provides are different… so why not name the plugin differently as well. Then you could install them side by side ;)
Offline
#5 2007-08-16 16:24:38
- fireblade
- New Member
- From: Russia
- Registered: 2007-08-08
- Posts: 6
Re: Installing 2 copies of one plugin. Is it possibe ?
ruud wrote:
If the function names are different, then the tags the plugin provides are different… so why not name the plugin differently as well. Then you could install them side by side ;)
yeah )) that’s the reason: i need different tags. So i was asking about possibility of installing the second copy and then editting it. Now i’m trying let’s call this “to develop” a plugin %))
The main problem is that it’s the first day i’m dealing with this stuff )) thanks for your support man. ;)
Offline
#6 2007-08-16 17:23:18
- fireblade
- New Member
- From: Russia
- Registered: 2007-08-08
- Posts: 6
Re: Installing 2 copies of one plugin. Is it possibe ?
And i’ve done it. I had to install new plugin, via ied_plugin_composer and then change the code and functions names. Thank you! First experience in this area is positive, like all 1,5 year on TXP !
of course now it’s like two different plugins and tags, but that was the aim ))
Last edited by fireblade (2007-08-16 17:25:50)
Offline