|
However, what I really want to do is to be able to use the "Default Author" field in the RSS feed set-up to set the "created_by" field in the content item.
Is there a way to do that.
I tried this solution but is not working
$query = "INSERT INTO #__content (`title`, `title_alias`, `introtext`, `fulltext`, `state`, `sectionid`, `mask`, `catid`, `created`, `created_by`, `created_by_alias`, `checked_out`, `publish_up`, `publish_down`, `attribs`, `version`, `ordering`, `metakey`, `access` )"; $query .= " VALUES ( '$title', '$title', '$intro', '$fullTxt', '$publishState', '$sectionid', '0', '$catid', '$publishDate', '62', <------- '$created_by', here is set on 62 the default id of Administrator
but if I use $created_by, feedgator insert 0 in table content why? I am sure that the solution is simple but I can not find it Why not work "created_by" inserting instead of the number 62? "Created_by" is in "_feedgator" table and is called to be included in the table _content
|