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.
actually, using mgd_get_page() IS the right method, because list/fetch combination guarantees to return only the "fetchables". see link for more info:
http://midgard-project.org/documentation/reference/oop-methods/
probably, this concept was introduced/forced later than nadmin appeared?
signature.asc
Description: OpenPGP digital signature
