# Converts Joomla! 1.0.8 to Mambo 4.5.3
# Akarawuth Tamratean  aka NineKrit
#
#  Step 1  run this script
#  Step 2  change mambo configuration.php 
#              $mosConfig_host = 'localhost';
#              $mosConfig_user = ' ';  <-- Ñyour joomla database user name
#              $mosConfig_password = '';
#              $mosConfig_db = ' ';  <- your joomla dabase name
#              $mosConfig_dbprefix = 'jos_';
#

UPDATE `jos_templates_menu` SET `template` = 'mambo_admin_blue' WHERE `template` = 'joomla_admin' AND `client_id` = '1' LIMIT 1;
UPDATE `jos_templates_menu` SET `template` = 'waterandstone' WHERE `template` = 'rhuk_solarflare_ii' AND `menuid` =0 LIMIT 1 ;

UPDATE `jos_mambots` SET `published` = '1' WHERE `element` = 'tinymce' AND `folder` = 'editors' AND `published` = '0' LIMIT 1;
UPDATE `jos_mambots` SET `published` = '0' WHERE `element` = 'none' AND `folder` = 'editors' AND `published` = '1' LIMIT 1 ;
