Thanks, i've tried to access the articles of my topics in the
same way, but the result is a little bit strange, because no articles
are shown.
My site-structure is the following:
topic(18)
------ subtopic(27)
-------- article(28)
------ subtopic(28)
-------- No article here at the moment
------ subtopic(29)
-------- article(26)
-------- article(24)
-------- article(25)
-------- article(27)
Here's the script:
$topic = mgd_list_topics(18);
if ($topic) {
while ($topic->fetch()) { ?>
<H3 class="grey">&(topic.description:h);</H3>
<?php $article = mgd_list_topic_articles($topic->id);
if ($article)
while ($article->fetch) { ?>
<a class="navi" href="/buchtipps/beschreibung/&(article.id);.html">
&(article.title);</a> </P>
<?php
}
}
} ?>
So, I thought the script does the following:
Go to topic 18, have a look, if there are subtopics.
If yes, show the description of the subtopic. ('til this
point everything works fine). Have a look if there are
articles in this subtopic. If yes, show the article-id.
(but this doesn't work.It seems that the script never runs in the
"while ($article->fetch)".
Anatol Mayr
HEXAGON EDV-Dienstleistungen
Weissenwolffstra?e 14
A-4221 Steyregg, Austria
Tel.: (+43) 732 / 640 530
Fax: (+43) 732 / 640 530 - 20
Email: <mailto:[EMAIL PROTECTED]>
--
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]