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...

> <?
>  $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? i tried to
replace "$article" with "$topic" but that did not work... (I really
feel stupid :-( )


> You could have
> root (10)
>   private(29)
>      something(13)
>   public(56)
>      includethis(11)
>      inckudethat(12)

> and then just pass 56 as parameter to mgd_list_topic_articles_all.

Exactly. But I probably don't have to tell you what it would mean to
move 11 and 12 in to 56, including all the articles in 11 and 12 (and
I have many more than just two...)!

> 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?

> Otherwise, having created 29 and 56 (just examples), log into mysql and
> do

> UPDATE topic SET up=29 WHERE id=13;
> UPDATE topic SET up=56 WHERE id IN (11,12);

> Not convenient but it works.

That's something. I'll have to pass that on to the systemadmin if we
would need to do that. Unfortunately, I only have access to my root -
host and content - (which is sufficient for me).

Alexander



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

Reply via email to