Hi,
While testing the code:
$article = mgd_list_topic_articles
($topic_to_display_id, "score");
if($article)
{
while($article->fetch())
{
echo "article title
".$article->title."<br>";//debug
echo "article startdate
".$article->startdate."<br>";//debug
echo "article enddate
".$article->enddate."<br>";//debug
echo "article calstart
".$article->calstart."<br>";//debug
echo "article calstop
".$article->calstop."<br>";//debug
echo "article caldays
".$article->caldays."<br>";//debug
echo "article calendar
".$article->calendar."<br>";//debug
echo "article acalendar
".$article->acalendar."<br>";//debug
echo "article alcalendar
".$article->alcalendar."<br>";//debug
echo "article approved
".$article->approved."<br>";//debug
echo "time ".time()."<br>";//debug
echo "<br>";//debug
}
}
I found that I was unable to access the
calendar-related properties of article.
Replacing mgd_list_topic_articles by
mgd_list_topic_calendar_all made it work fine again.
Is this intended behaviour?
I came across this while trying to mimic the
not-existing function mgd_list_topic_calendar: so a
list of time-valid articles directly under the topic
instead of all articles in the topic tree.
The way I do it now, is using
mgd_list_topic_calendar_all($topic_to_display_id,
"score") with an extra condition on the $topic
property of the $article.
Regards,
pascal van hecke
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]