Hi Will, On Mon, 2002-12-02 at 19:07, Will Shine wrote: > Armand, it has been a week and I still have not been able to get > mgd-create-article to work. > > I have tried this with the sample code modified below to my spec, and > articles are still not showing up in the articles table. > > Here is the code below > > > <?php > $up = 0; > $topic = 14; > $name = "testarticle"; > $title = "What's in a name"; > $abstract = "Learning Midgard from the manual is easy, but..."; > $content = "Learing Midgard from the manual is easy, but by actually > trying "; $content .= "the examples yourself, you'll get a better feel > for what is "; > $content .= "the use of the various functions."; > $author = 0;
try $author = $midgard->user; > ------------------------------------------- > 14news0Object does not existproblemsCreated article 'testarticle' with id 0 > ------------------------------------------- > > If I change the user from 0 to something else, I get permission denied, > In order to create an article you must be member of the group that owns the topic you are creating it in (or any of it's parent topics). This means that you need to be authenticated to the page in order to create an article. Are you? wkr, -- Envida http://www.envida.net/ Armand A. Verstappen Graadt van Roggenweg 328 [EMAIL PROTECTED] 3531 AH Utrecht tel: +31 (0)30 298 2255 Postbus 19127 fax: +31 (0)30 298 2111 3501 DC Utrecht
signature.asc
Description: This is a digitally signed message part
