Alexey Zakhlestine a Ãcrit :
Sam Przyswa wrote:
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?
That's mean Midgard 1.6 is not backward compatible with the 1.4 and all my previous works will lost :-(
I hope the old 1.4 modules work with the new Apache 1.3.33 and PHP4 and if anybody here had the 1.4 Debian packages or sources PLEASE contact me, OR give me the way to modify the 1.6.2 to make the mgd_list_page() fetchable method able to fetch the page name as explained on this link:
http://midgard-project.org/documentation/reference/pages/functions/mgd_list_pages
There is no warning on this page to say that method don't work anymore with the 1.6.2 or is deprecated !
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]
