Hi Bit
if you include the xoops 2.5 ajax Block Management or maybe better than that in Rmcommon
this rmcommon will be PERFECT
from the bottom of my heart thank you for your contribution to XOOPS
| |
|
| Stats | |
| Goal: | $100.00 |
| Due Date: | May 31 |
| Gross Amount: | $65.00 |
| Net Balance: | $61.80 |
| Left to go: | $38.20 |
|
|
|
| Donations | |
| studioC ($25)May-17 | |
| Anonymous ($15)May-16 | |
| Anonymous ($25)May-4 | |

if i use rmcommon module management ?
how do i change the name of a module in Main Menu
as example from newbb to Forum ?

// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
switch($fct){
case 'modulesadmin':
header('location: ../rmcommon/modules.php');
break;
}
}
function chechAdminTheme(){
include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php';
include_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php';
$db = XoopsDatabaseFactory::getDatabaseConnection();
$res = $db->query("SELECT conf_value FROM ".$db->prefix("config")." WHERE conf_name='cpanel' ");
while($row = $db->fetchArray($res)){
$tst[1] = $row['conf_value'];
}
return $tst;
}
$tst=chechAdminTheme();
if ($tst[1] =='redmexico'){
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
switch($fct){
case 'modulesadmin':
header('location: ../rmcommon/modules.php');
break;
}
}
}
//---------------------------*/

// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
switch($fct){
case 'modulesadmin':
header('location: ../rmcommon/modules.php');
break;
}
}