在xoops_version.php 要加上新的區塊如下:
$modversion['blocks'][6]['file'] = "tad_book3_cate.php";
$modversion['blocks'][6]['name'] = _MB_TADBOOK3_BOOK_MENU_CAT;//_MI_QRCODE_BLOCKNAME;
$modversion['blocks'][6]['description'] = _MB_TADBOOK3_BOOK_MENU_CAT;//_MI_QRCODE_BLOCKDESC;
$modversion['blocks'][6]['show_func'] = "tad_book3_cate";
$modversion['blocks'][6]['edit_func'] = "block_edit_book_cate";
$modversion['blocks'][6]['template'] = "tad_book3_index.html";
$modversion['blocks'][6]['options'] = '0';
使用dtree 的介面
感謝Tad 老師開發出這麼多好用的模組