How to recover deleted module
Practice shows that novice users in the process of familiarization with the system, often removed by standard Joomla!And then ask how they can bring back. We have already described recovery process standard component of Joomla, today let’s look at how to restore the module.
Modules in Joomla can be divided into 3 groups:
- StandardThe group includes the standard modules that come with the standard Joomla. The problem of recovery modules in this group is explained by the fact that they are established simultaneously with the system and, separately, their distribution is not free anywhere.
- CustomIt’s just blocks of text created in the administrative panel of Joomla. In principle, they are like a virtual modules. When you remove a module data razmeshschennye it is lost forever. The only way to recover the data is restored from the backup database.
- Third-party modulesThis group comprises the modules created by third-party developers of extensions. No special problems with restoring them after the removal should arise, because there is always a source distribution, and the module can be easily re-install.
So, in order to restore the remote unit, we need somewhere to take his package and install it via Module Manager backend Joomla. Where can I take the distribution of the standard module? That’s right, do yourself! We consider this procedure as an example of the standard module mod_mostread (Most Read Content):
- Extract the files from the distribution of standard Joomla module mod_mostread:
- / Modules / mod_mostread.php
- / Modules / mod_mostread.xml
NOTE: In this example, in the distribution of the module, we include only two files: the script file directly (mod_mostread.php) and description file distribution (mod_mostread.xml). This is due to the fact that at the current time, all the standard modules consist of a script file and descriptions, but other modules can consist of any number of files to include in the distribution of images, supporting files, etc.
- Packs the data module files in a Zip-archive (eg with WinZip).
All we have prepared the distribution module mod_mostread. Now we can go to the Module Manager Joomla admin panel and re-install it.
NOTE: when you delete some files from the modules they can remain in the directory / modules and prevent re-installing, so before you install, make sure that the module is completely removed.
