irmtfan wrote:
Quote:2.0 does not assign block's id.1- it doesnt work in 2.0
Quote:2- how to add that in smarty variables like $block.title? is this possible? i think it would be a great feature.
$xoopsTpl->append('xoops_lblocks', array('title' => $block_arr[$i]->getVar('title'), 'id' => $block_arr[$i]->getVar('bid'), 'content' => $bcontent));