I created a module that looks up some taxonomy terms using taxonomy_get_tree() does some stuff with it and then passes it to a template file. In that template file i want to display them sorted according to some parameters.
The sorting stuff and all works fine but in the end i would just like to display the term using its standard template. But i can't get this to work, i have the entire term object and what i thought i had to do was something like:
theme('node', array('elements' => array('#view_mode' => 'teaser', '#node' => $term)));
but the array needs a lot more items then i can provide, so isn't there an easier way?