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:
<name>plg_content_helloworld</name> plugin-name-as-shown-in-Joomla-admin

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:
<name>Hello World</name> updated-plugin-name
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
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.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?
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 ?
Staff
15,484 Points
2013-11-13 2:04 pm
Hassanz,

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.

Regards,
Arnel C.
2013-11-15 12:59 pm
Hi Arn,
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.
Staff
9,521 Points
2013-11-15 1:18 pm
Hello hassanz,

Thank you for letting us know how you were able to get this to work for you!

- Jacob
2013-11-15 1:34 pm
Thank you guys for putting up this nice and useful tutorials. It really helped me a lot.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

5 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!