I'm sorry Trier,
I tried your module, but now I get an error when I want to publish a new article, and this happens in PHP4 and PHP5...
The error is:
Error: Error while creating article:
INSERT INTO xb7bfc_wfs_article ( articleid, groupid, categoryid, weight, title, subtitle, maintext, summary, url, urlname, created, published, expired, usertype, nohtml, nosmiley, noxcodes, nobreaks, notifypub, allowcom, uid, htmlpage, pdfpage, isframe, offline, page, noshowart, cmainmenu, counter, isforumid, articleimg, wrapurl, version, spotlight, spotlightmain ) VALUES ( 0, '1 2 3 4 5', 8, 0, 'test doc', '', 'test text in this document test text in this document test text in this document test text in this document ', '', '', '', 1206198072, 1206198072, 0, 'admin',0, 0, 0, 1, 0, 1, 1, '', '' ,0, 0, 0, 0, 0, 0, 0, '', '', 1.01, 0, 0 )
in file /modules/wfsection/class/wfsarticle.php line 478
Line 471 till 481 are:
if ( !$result = $this->db->queryF( $sql ) ) {
trigger_error( $error, E_USER_ERROR );
} else {
$this->articleid = ( $this->articleid ) ? $this->articleid : $this->db->getInsertId();
}
Besides this I get no blank page anymore, and I'm able to create a new section, so I think we're improving....
But I get the same error when I'm trying to update an article...
Any help is appreciated.
Thx in advance and greetings,