Re : LEFT MENU FROM WIKI STRUCTURE
You can look at the tpl templates/tiki-user_menu.tpl that is the tpl of a menu
To create a module, the best is to take an example ex: modules/mod-top_games.php and templates/modules/mod-top_games.tpl . In the php you have to assign a smarty var that contains your structure, and you use it in the tpl