Hi,
Sorry if I am wrong here (tried the forum and searched the Code and SO), but how would one update an item's data via code?
$row = JTable::getInstance('K2Item', 'Table');
$row->load($myId);
$row->title = 'New title';
$row->save(); // doesn't work
$row->checkin(); // doesn't work too
thanks a lot,
g
Sorry if I am wrong here (tried the forum and searched the Code and SO), but how would one update an item's data via code?
$row = JTable::getInstance('K2Item', 'Table');
$row->load($myId);
$row->title = 'New title';
$row->save(); // doesn't work
$row->checkin(); // doesn't work too
thanks a lot,
g