How to change the name of a Joomla 2.5 Plugin
Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.
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:|
Joomla Community Google+ Hangout #3
June 3rd, 2014
Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!
Support Center LoginOur Login page has moved, Click the button below to be taken to the login page.
2013-11-15 1:34 pm
Thank you guys for putting up this nice and useful tutorials. It really helped me a lot.
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 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-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-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 ?