How to rename module
Hello!
I want to use some of example modules for my project. Bud I need little bit different project and application module organization.
Is there any way how to easily rename application module?
Thank You!
Answers (4)
Hello :-)
No problem, it is simple ;-)
Do it like this:
- Copy module directory to some new directory as you wish
- Change module namespace
For example: Old module directory is:
Admin/Content/Articles
and namespace is:
JetApplicationModule\Admin\Content\Articles
New module directory will be:
MyAdmin/ContentManagement/Articles
and new namespace will be:
MyAdmin/ContentManagement/Articles
And that's it! In the end, all you have to do is uninstall the old module using Jet Studio and install the new one.
Have a nice day ;-)
Have a nice day.
New feature "Clone module" is waiting for You in the last version of PHP Jet and Jet Studio ;-)
Thank you, HansZ!
You are right! It will be there in some future version ;-)
Thanks! It's really easy!
But... Such a feature should be part of Jet Studio, don't you think?
Please Sign In or Sign Up. It is really simple, and it takes only few seconds. You can use your Google account.