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.

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

```<br />
<br />
any help would be really appreciated. <br />
<br />

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