Skip to content
JoomlaProdigy Forum
Welcome, Guest
Please Login or Register.
Lost Password?
_GEN_GOTOBOTTOM Post Reply

TOPIC: feedgator Setting Created By

#2760
bonox (User)
Fresh Boarder
Posts: 1
graphgraph
Click here to see the profile of this user
feedgator Setting Created By 2008/01/22 12:36 Karma: 0  
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
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop

Buy Now

Recommended

Search

Recommended

Joomla Templates

Member Login

Refreshing page..Please wait!
                       Lost Password?    Can't Login?