Hello Emile,


you'll probably give up soon... ;-)

> 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 */
>   }
> }

Aha. Except, what I have looks slightly different:

 <?
 $article = mgd_list_topic_articles_all($topic_id); {
  for($i = 0; $i < 4; $i++) {
  if ( $article->fetch() ) {
 ?>

 and somewhere deeper, stuck in HTML

 &(article.name:h);
 
I want only 4 articles to be displayed (I don't understand anything
here, just that the 4 means 4 articles...). Because of that I have no
clue how to implement what you have given me as an example.

> And you could of course create multiple 'roots' under your own root
> topic.

I have

-root(10)
 -this subtopic should be included(11)
 -this subtopic should be included(12)
 -this is private(13)

Lets say "root" is topic #10. This is what I set as topic_id. It
includes subtopics 11, 12 and 13. All content is displayed, but the
one from subtopic 13 should not. You now say I can create another root
- as a subtopic in 10? But what would that help if the rest of my
subtopics are not part of that new root? I cannot really move all
subtopics without going insane...

Thanks!

Alexander



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

Reply via email to