Manual activation of a module in Joomla!


/ Published in: SQL
Save to your folder(s)

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)


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.