Help please.. categories menu

Hi Guys / Gals.



I am really stuck here.

I have created a custom addon to have tabs on the homepage, however now i need to populate the tabs.



I want to have a list of the sites categories on one but i cannot get it to generate.



I have tried simply calling the categories tree in the same way the menu blocks do but i guess i am missing some variables?



this is the line of code i am using.



{include file="views/categories/components/categories_tree.tpl" categories=$items}




any help would be really appreciated.



Thanks

nobody have any suggestions on this? all i need to do is pull back a list of categories…