Piotras a �crit :

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,


It's not the right method, the script got all others fields, title, id, only the name field is returned empty, as we seen before the SQL query work fine. I have the same problem with my websites and Nadmin who can't locate the right URL pages, the path are displayed /0/0/0/my_page instead of /root_page/page_1/page_10/page_100... and I don't want to rewrite all the Nadmin snippets, I think it should be nice to find a fix to make the API working as explained on the API Reference.

I tried to compile the 1.5.0 but it don't compile I got "checking for library containing g_string_new... no configure: error: You need glib" and I have all glib dev packages.

I will loose my head and perhaps my customer.

What can I do ?

Sam.


-- Ce message a �t� v�rifi� par MailScanner pour des virus ou des polluriels et rien de suspect n'a �t� trouv�. MailScanner remercie transtec pour son soutien.


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



Reply via email to