D3 templates development

Date 2006-10-24 05:10:51 | Category: XOOPS

in englishin japanese
The latest altsys has a feature helping to develop templates of D3 modules.
You may know "auto update feature" for conventional modules already.

eg) updating templates developping modules of xhnewbb and xhld0.
insert 2 lines into mainfile.php just after including "include/common.php".

$tplsadmin_autoupdate_dirnames = array( 'xhnewbb' , 'xhld0' ) ;
include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_module.inc.php" ;


The new feature looks like it.
(insert 2 lines into mainfile.php just after including "include/common.php")

$tplsadmin_autoupdate_mydirnames = array( 'd3forum' , 'aaaaa' ) ;
include XOOPS_TRUST_PATH."/libs/altsys/include/autoupdate_from_d3module.inc.php" ;

Care $tplsadmin_autoupdate_mydirnames should be assigned dirnames under XOOPS_ROOT_PATH/modules/ instead of XOOPS_TRUST_PATH/modules/

Enjoy it!




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=385