It seems like this (below) should work but I keep getting a
"Call to unsupported or undefined function fetch() in content on line 31"
could naming the output topic interfere with a word reserved for other
things ( I tried "topix" too)...or do I need to add something to
"code-init" (obviously I am still a little fuzzy on how it works and gets
called)
I am trying to get the names of the child topics of a section to act as
links into child pages which list the articles from the the child topic (or
the ten newest.... whatever)...I know Emile had said it was possible but I
can't find his e-mail and I can't remember what his suggestions were for
getting it done....
30: <? $topic= mgd_get_topic(18);
31: if ($topic) for ($i = 0; $i < 25 && $topic->fetch(); $i++) { ?>
32: <p>
33: <strong><a
href="/&(topic.name)/&(topic.id);.html">&(topic.name);</a></strong>
34: <? } ?>
--
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]