Posted By

iroybot on 02/10/12


Tagged

mysql sql josmodules


Versions (?)

Manual activation of a module in Joomla!


 / Published in: SQL
 

in order to avoid the .zip madness when creating a new module, you can make it available in the backend by firing a simple SQL in your DB. (mod_media is the name of the folder that holds it)

  1. INSERT INTO `jos_modules` (`id`, `title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`, `control`) VALUES
  2. (648, 'Media Player', '', 1, 'media', 0, '0000-00-00 00:00:00', 1, 'mod_media', 0, 0, 0, '', 0, 0, '');

Report this snippet  

You need to login to post a comment.