> It seems in one of the updates in the last year there was change in the
> mgd_list_topic_calendar_all .....it used to list everything from today
on,
> now it lists everything from tomorrow on, not a big deal except it would
be
> nice to think of a way to list just today, or make it list today to the
> future...in theory if I could get today's listing back I could list every
> thing and then exlude everything which didn't match today but that seems
> super inefficient...
I'm not sure if that's what you were looking for. This is, what i do for
calendar-listing
--------------------------------------------------------------------
<?
$today = mktime();
$future=mktime(0,0,0,1,1,2037); // end of linux
$past=mktime(0,0,0,1,1,1970); // start of linux
$id = 20; // this is the id of the topic to be listed
?>
<?php
$article = mgd_list_topic_calendar_all($id,$past,$today,"calendar reverse");
// "calendar reverse" seems not to work on all versions.
while($article && $article->fetch()) {
...
}
--------------------------------------------------------------------
I've got a feeling that listing functions get changed in every other
version, so i tried using all the parameters of the function.
gb
----- Original Message -----
From: "Ken Pooley" <[EMAIL PROTECTED]>
To: "Midgard User" <[EMAIL PROTECTED]>
Sent: Monday, August 25, 2003 7:39 PM
Subject: [midgard-user] mgd_list_topic_calendar_all question...
> Hey all,
>
> I am back from a long July adventure...far from the reach of my cell or
> e-mail...and have spent aug. digging through the 7000+ e-mails which piled
> up. ( and that was before SoBig started filling my box with crap... I hope
> everyone is well and not too hot...still...
>
> It seems in one of the updates in the last year there was change in the
> mgd_list_topic_calendar_all .....it used to list everything from today
on,
> now it lists everything from tomorrow on, not a big deal except it would
be
> nice to think of a way to list just today, or make it list today to the
> future...in theory if I could get today's listing back I could list every
> thing and then exlude everything which didn't match today but that seems
> super inefficient... We are using the old-admin with something like
Midgard
> 1.4.1....
>
> Any suggestions would be welcome....
>
> kp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]