> function rene_make_menu($id) {
> $page = mgd_get_page($id);
> ?>  <tr>    <BR>&(page.title);</BR> </tr><?
> }
> $root = <your_page_root>;
> $someparam = "";
> $maxlevel = 3;
> 
> mgd_walk_page_tree(rene_make_menu,$root,$maxlevel,&$someparam,TRUE);


As I have never used that functions cause I do not like functions with 
plenty $variables I made some test:
<?
    function walk_topic($id) 
        { 
        $tw = mgd_get_topic($id); 
        if ($tw) echo $tw->name; 
       }
    $param = "";  
     mgd_walk_topic_tree (walk_topic($id), $root, 20 ,&$param , true);

?>

And that always ends with :
 Unable to call () - function does not exist


Piotras



 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to