I've updated the bug in cvs last week.
The web site is not up to date.
$topic is a number.
I received some warnings and errors commiting the file.
This is due to my jade package not correctly installed.
The file was not commited?
Jean-Pierre
Mario Lang wrote:
> hello.
>
> I found the following in the midgard documentation.
>
> Description
>
> int mgd_create_article(int up, string topic, string name, string
> ^^^^^^
> title, string abstract, string content, int author, string url, string
> calstart, int caldays, int icon, int view, int print, string extra1,
> string extra2, string extra3, int type);
>
> Is this true? Why a string. I thought it should be an int.
>
> Im trying to make a anonymous submission page for events.
> I have the cathegory events and now I added my new
> user (id 3) named anonymous user. I added him to
> the group which owns the topic where the new articles should belong to.
> But I dont get an id back when I do the follwoing:
>
> $nid = mgd_create_article(0, $topic, $title, $title, $abstract, $content, 3, "",
>$calstart, $caldays, 0, 0, 0, $location, '', '', 2);
> (topic is an integer (containing the topic id).
>
> Any ideas why this doesnt work?
>
> CYa,
> Mario
>
> --
> 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]
--
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]