Alexander Levenetz wrote:
> > You'll have to use mgd_is_in_topic_tree to test whether you want to
> > display them,
>
> To be honest: I hardly know anything about Midgard or php. I looked up
> this command in the docu but I don't really understand why (and how)
> that would help me...
Instead of
$cursor = mgd_list_topic_articles_all($topic);
while ($cursor && $cursor->fetch()) {
/* display something here */
}
you would do
$cursor = mgd_list_topic_articles_all($topic);
while ($cursor && $cursor->fetch()) {
if (! mgd_is_in_topic_tree($privatebranch) ) {
/* display something here */
}
}
> > or move the private articles to a topic branch outside of the branch
> > you want to search.
>
> I can't do that as the topic that I have to use is my "root". Moving
> all these subtopics I would like to include into a new subtopic is
> impossible (isn't it?).
Asgard can do that. And you could of course create multiple 'roots'
under your own root topic. mgd_list_topic_articles_all can start
wherever you like.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]