from news 1.1 to bulletin 2.0

Date 2006-07-17 06:43:58 | Category: Site News

in englishin japanese
I've just replaced the main news module of this site from news 1.1 to bulletin 2.0 made by suin.

bulletin 2.0 looks excellent code and has sufficient features.
And don't forget that bulletin 2.0 is the first Duplicatable V3 module with rich features.

I'm appreciated with your bug report of this site

XOOPS_ROOT_PATH/backend.php

<?php

define( 'BACKEND_DIRNAME' , 'news' ) ;
$_GET['page'] = 'rss' ;


require 'mainfile.php' ;
if( ! defined( 'XOOPS_TRUST_PATH' ) ) die( 'set XOOPS_TRUST_PATH in mainfile.php' ) ;

$module_handler =& xoops_gethandler( 'module' ) ;
$xoopsModule =& $module_handler->getByDirname( BACKEND_DIRNAME ) ;

$mydirname = BACKEND_DIRNAME ;
$mydirpath = XOOPS_ROOT_PATH.'/modules/'.BACKEND_DIRNAME ;
$mydirurl = XOOPS_URL.'/modules/'.$mydirname;

require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname

if( @$_GET['mode'] == 'admin' ) {
	require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/admin.php' ;
} else {
	require XOOPS_TRUST_PATH.'/modules/'.$mytrustdirname.'/main.php' ;
}

?>




You can read more news at PEAK XOOPS.
http://xoops.peak.ne.jp

The URL for this story is:
http://xoops.peak.ne.jp/md/news/index.php?page=article&storyid=341