Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In some rare cases it may be necessary to rename a 3rd party module. For example, if you are using a third party module named TestModule, and we release an official module called TestModule, you may wish to rename third party module so that it is not overwritten by the official module.

Infonote

Before proceeding, make sure you really need to rename the module and be sure to back up your files + database. If you encounter any issues, roll back your changes.

...

UPDATE `modules` SET `class` = 'testmoduleold' WHERE `class` = 'testmodule';

The fourth step is to change view context statements from:

$this->view->setDefaultView('components' . DS . 'modules' . DS . 'testmodule' . DS)

...