Sam Przyswa <[EMAIL PROTECTED]> wrote:

> I use the echo to debug my script, the problem is that the 
> $first_tree->name is empty, I use this to generate the URL in a button 
> menu in flash animation, the script is too long to be copied here.

Did you try mgd_get_page?

$first_tree = mgd_list_pages($root_page);

while( $first_tree->fetch() ) {
        $_page = mgd_get_page($first_tree->id);
        
            if ($_page->bouton_position) // blah blah  
        // more code    
        "name"    => $_page->name,
        "title"    => $_page->title,

Piotras



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

Reply via email to