4
hi
You could change mainfile.php like this
After
le="color: #000000"><?php include( XOOPS_TRUST_PATH . '/modules/protector/include/precheck.inc.php' ) ; if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') { include XOOPS_ROOT_PATH."/include/common.php"; include( XOOPS_TRUST_PATH . '/modules/protector/include/postcheck.inc.php' ) ; } }
... add these lines
le="color: #000000"><?php $ModuleDirname = pathinfo( dirname( $_SERVER["SCRIPT_FILENAME"] ) ); switch($ModuleDirname['basename']) { case 'news'; $xoopsConfig['theme_set'] = 'theme-name-1'; break; case 'ressources'; $xoopsConfig['theme_set'] = 'theme-name-2'; break; case 'mylinks'; $xoopsConfig['theme_set'] = 'theme-name-3'; break; case 'myalbum'; $xoopsConfig['theme_set'] = 'theme-name-4'; break; case 'mydownloads'; $xoopsConfig['theme_set'] = 'theme-name-5'; break; case 'liaise'; $xoopsConfig['theme_set'] = 'theme-name-6'; break; case 'tellafriend'; $xoopsConfig['theme_set'] = 'theme-name-7'; break; } ?>
Still learning CSS and... english