Ken Pooley wrote:

> I have a root page, it is active...it lists all of the topics and
> descriptions for a category...the idea is that the topic name is a link
> into the topic, there is a <[topic]> (listed further down) that should take
> me into the topic and list all of the articles which are childeren of that
> topic..the link works, it goes to /topicname/ but then it seems to go back
> to the root page for content...it seems like either A) it is not picking up
> the topic condition and going off to the topic subpage or ...well that
> seems to be it...

So /topicname/ is in fact handled by the root page script? Then yes,
<(content)> will allways correspond to the content part of your root
page. What do you want to accomplish? Where do you want to get the
content
from?

> also I am having trouble finding a way to pass the
> variable topic ID into the 
> <?$article = mgd_list_topic_articles(topic.id);
> ....I think...though I haven't gotten to run that far.....

You have various means. $midgard->uri will hold the full request URI
(so that would be /topicname/ or /dev/topicname in this case), and
$argv will hold the path elements that follow the active page
(so all elements, since it's the root page): $argv[0] will
be 'topicname', or $argv[0] will be 'dev' and argv[1] 'topicname, etc.

Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to