How to change the name of a Joomla 2.5 Plugin
If you're following along with our tutorial series on creating plugins for Joomla 2.5, you'll notice that the name of our plugin is plg_content_helloworld. This is not an ideal plugin name, and in this Joomla 2.5 tutorial we'll show you how to rename a plugin.
The following table shows where in the xml file this name is set, and where you see the plugin name in your Joomla 2.5 admin:
|Declaration in the plugin's xml file:||Screenshot of where the plugin name is seen:|
If you would like to change the name of your plugin, you'll need to update the plugin's xml file. Find and change the name attribute from plg_content_helloworld to Hello World. After making this change, you'll need to uninstall and then reinstall the plugin. After making these changes, the following are our results:
|Updated name in the plugin's xml file:||Updated plugin name as seen from Admin view:|
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
Joomla 2.5 Content Plugin Development
2013-11-13 12:13 pm
do you have to uninstall and reinstall the plugin ? Can't you just go to joomlaroot/plugins/content/ and make changes to the file directly ?
2013-11-13 2:04 pm
Thanks for the question. Yes, you most likely could go and find the entries in the database and code in order to change the name. However, to keep the method simple and clean this is the method we have provided to rename the plugin.
2013-11-15 12:59 pm
I recently tried to edit manifest file via FTP, I tried to change name, version, description and it worked. All I had to do is go back to plugin manager and clear cache.
2013-11-15 1:18 pm
Thank you for letting us know how you were able to get this to work for you!
2013-11-15 1:34 pm
Thank you guys for putting up this nice and useful tutorials. It really helped me a lot.