On Fri, 18 May 2001 09:32:35 -0500
"Miles Scruggs" <[EMAIL PROTECTED]> wrote:
> >> How do you find the topic ID for referencing later? I can't seem to
> >> find it at all using nadmin, and using asgard I have to use unframed
> >> so I can see the ID in the URL. How am I suppose to find the topic
> >> ID, and article ID for that matter?
> >
> >IDs aren't repligard-safe - more useful would be using
> mgd_get_xxx_by_name() functions. And in Asgard you really can see
> >ID in url only.
>
> I would prefer to reference by name. Can I do that for listing topics
> also? I was looking for a function for listing a topic by name, but
> couldn't find one. Is there a function like
> mgd_list_topic_all_by_name()
No, AFAIK. You can get topic by
$topic = mgd_get_topic_by_name("topic_name");
and then list its subtopics by
$list = mgd_list_topics($topic->id);
--
Best regards,
Sergei Dolmatov.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]