Paul Gillingwater wrote:

> You know the drill -- mgd_get_topic(17) -- you first have to know what
> ID the topic has that you're interested in.  So I got to thinking --

I usually do something like mgd_get_topic("Name for this-or-that-topic")

> Specifically, I've got it working to two levels of depth.  My problem
> is that the mgd_get_topic_by_name requires the ID of the "up" record,
> i.e., the parent topic.
> So, when looking at the top level, this will be zero, but below that,
> you need to know where you are in the topic tree.  The only solution I
> could think of was to
> parse the URI, and look at the basename of the dirname, then assume
> that's top level.  Can anyone tell me a more elegant way to find the
> place you are in a topic tree

My own site does something similar. I'll post the repligard file as
soon as I find out how :/

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to