Yes, thats ok,
but in my active page, the php script in code-init looks like
if (argc == 2) $topic = argv[0]; $artname = argv[1];
and
mgd_get_article_by_name($topic, $artname);
etc...
And mgd_get_Article_by_name requires the topic id.
Are there any way to get around this?
Vidar
----- Opprinnelig melding -----
Fra: Emiliano <[EMAIL PROTECTED]>
Til: <[EMAIL PROTECTED]>
Sendt: 29. mai 2001 09:35
Emne: Re: [midgard-user] Topic and arguments
Kirkens Bymisjon Troms� wrote:
> I want to fetch subtopics under topic xx. And I want to use
> xx/subtopic.name as the path. But it seems like the only way to make
> it work is by using topic.id. Is there any way to refer to an article
> under a subtopic by using topic name?
mgd_get_topic_by_name
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]