<em>@daigalean 417835 wrote:</em><blockquote>Thanks again Ninja, I do not suppose there is a way to get it to update off k2 that you might know off?
Darren</blockquote>
If you are familiar with programming, you can change code in the templates/ja_teline_iv_t3/templateHelper.php file. Instead of query from com_content, change it to K2 component.
public static function getLastUpdate($fieldname = null)
{
if (! $fieldname) $fieldname = 'created';
$db = JFactory::getDBO();
$query = "SELECT `$fieldname` FROM #__content ORDER BY `$fieldname` DESC LIMIT 1";
$db->setQuery($query);
$data = $db->loadObject();
if ($data != null && $data->$fieldname) {
$date = JFactory::getDate($data->$fieldname);
//get timezone configured in Global setting
$app = JFactory::getApplication();
// Get timezone offset
$tz = $app->getCfg('offset');
// Set timezone offset for date
$date->setTimezone(new DateTimeZone($tz));
//return by the format defined in language
return $date->format(JText::_('T3_DATE_FORMAT_LASTUPDATE'), true);
}
return;
}