Alexander Levenetz wrote:
> 
> Hi Emile,
> 
> > You obviously haven't hung around this list for long.
> 
> Well, haven't payed much attention to the discussions as
> they did not affect me...

Even so, you should have noticed I don't have the smarts
when people offer me an escape route :)

> 
> > <?
> >  $article = mgd_list_topic_articles_all($topic_id); {
> >  $displayed = 0;
> >  while ($displayed < 4 && $article && $article->fetch()) {
> >    if (mgd_is_in_topic_tree(13, $article->id) { continue; }
> >    $displayed++;
> > ?>
> 
> if I do that, I get a parse error in the line with is_in_topic.
> Probably because 13 is not an article but a subtopic?

No, it's because I omitted a ')'. It should have been
  if (mgd_is_in_topic_tree(13, $article->id)) { continue; }

> Probably because 13 is not an article but a subtopic?

The first parameter to mgd_is_in_topic_tree must be a topic ID.

> > Asgard should be able to move trees. David, what's the status on that?
> 
> Never heard of Asgard. Is that a tool or part of Midgard?

It's the new admin interface currently under development.

Emile

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

Reply via email to