4
I did exactly as specified, but i still get only one block. It shows only block2 now...checked groups, updated module for zencart and then checked if any new blocks were added. It was negative.
Am i missing something?
// Install things
//$modversion['onInstall'] = 'moduleinstall.php';
// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "xadmin/index.php";
$modversion['adminmenu'] = "xadmin/menu.php";
$modversion['blocks'][1]['file'] = "blocks.php";
$modversion['blocks'][1]['name'] = "Zen Cart Blocks";
$modversion['blocks'][1]['description'] = "Zen Cart Blocks";
$modversion['blocks'][1]['show_func'] = "b_shop_blocks";
$modversion['blocks'][1]['edit_func'] = 'b_shop_blocks_edit';
$modversion['blocks'][1]['template'] = 'shop_standard.html';
$modversion['blocks'][1]['options'] = "categories";
$modversion['blocks'][2]['file'] = "blocks.php";
$modversion['blocks'][2]['name'] = "Zen Cart Blocks2";
$modversion['blocks'][2]['description'] = "Zen Cart Blocks2";
$modversion['blocks'][2]['show_func'] = "b_shop_blocks";
$modversion['blocks'][2]['edit_func'] = 'b_shop_blocks_edit';
$modversion['blocks'][2]['template'] = 'shop_standard.html';
$modversion['blocks'][2]['options'] = "categories";
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = "Home";
$modversion['sub'][1]['url'] = "index.php";
// Search
$modversion['hasSearch'] = 0;
// Comments
$modversion['hasComments'] = 0;