Hi!

I modified code init of my products with:
<?
 if ($argc == 1) $tid = $argv[0];
 if ($tid && !mgd_is_in_topic_tree(12,$tid)) $tid = 0;
 if ($tid) $topic = mgd_get_topic($tid);
 ?>

and added to code of my products:

<? $temat = mgd_list_topics(12); ?>
 <p>
 <? while ($temat && $temat->fetch()) { ?>
 <a href="&(temat.id);.html">&(temat.name);</a>
 <br>
 <? } ?>
 </p>

how to change the number of topic (12 in this case) "on the fly" ( I don't
know how to say it in English ).

On demo site  I saw in article code something like this:
mgd_list_topic_articles_all(12, "alpha")

what is "alpha" ?

Piotras



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