2009/11/8 18:56
trabis
Core Developer
Posts: 2269
Since: 2006/9/1 1
?> some html here $block_id = 1; //choose your block id include_once XOOPS_ROOT_PATH . '/class/xoopsblock.php'; $blockObj = new XoopsBlock($block_id); $result = $blockObj->buildBlock(); $tplName = ($tplName = $blockObj->getVar('template')) ? "db:{$tplName}" : "db:system_block_dummy.html"; $GLOBALS['xoopsTpl']->assign('block', $result); $GLOBALS['xoopsTpl']->display( $tplName); ?> more html here
2009/11/8 23:13
demian
Quite a regular
Posts: 225
Since: 2008/4/29
Advanced Search
330 user(s) are online (287 user(s) are browsing Support Forums)
Members: 0
Guests: 330