-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
mgd_get_topic_by_name($upid,$name) does exist but it requires the ID of the topic above the one you're looking for.
In your example (if jorgepiddo is a topic) you could use:
mgd_get_topic_by_name($jorgepiddo->id,'noticias');
If you want to match URL-names to topic/article tree take a look at NemeinNavBar (distributed with Aegir). There's an URL-parser function that does just that.
Cheers!
~ //Henri
alex midgard wrote: | mdg_get_topic_by_name() | this metod don't exist, I need sombody help please | or other way : | http://192.168.2.2/jorgepiddo/noticias/ | | noticias = $argv[0]; | | is a topic, I need get the topic with name "noticias" | como?? | plese | | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | |
- -- Henri Kaukola [EMAIL PROTECTED] Consultant Tel: +358-20-198 6037 Nemein Oy http://www.nemein.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFADVqh3xWc2AolrKgRAmRUAJ0R7cx7GcM2E6BHCqrSpdK1TZaBbACgjST5 geNZeVAkv8PJMyD9XiuAGfA= =ANdw -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
