Hi,

The article object has properties startdate and
enddate.  I can read from them to determine whether an
article is still valid to be published, but setting
startdate and enddate seems to be more difficult.

$article = mgd_get_article($some_id);
$article->startdate = $some_date;
$article->update();

Does not seem to work.
In the article record definition
(http://www.midgard-project.net/manual/en/records.article.php)
I find that it all depends on the fields calstart and
caldate, however there is no direct equivalent for
them in the object definition
(http://www.midgard-project.net/manual/en/object.article.php).

How do I have to set the article's startdate end
enddate then?

Regards,

pascal van hecke

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to