Comments for News of this site(Moderator:Administrator)
Target | News |
Subject | D3 - spec of block templates |
Summary | For block, use main templates instead of block's template. $tpl =& new XoopsTpl() ; $tpl->assign( 'block' , $block ) ; $ret['content'] = $tpl->fetch( 'db:'.$mydirname.'_block_(template_name).html' ) ; return $ret ; This is excellent way than b... |
hits 0 items | Replies | Views | Votes | Average | First post | Latest post |
---|