Hi
Im trying to add a new field to k2, ive added it in the DB as event_date
Ive added it to the code in administrator/com_k2/tables/item.php in the function i added
var $event_date = null;
to
class TableK2Item extends JTable
And i have added the field in item template
Now this all works fine it updates the current item your editing, but... it removes all the date strings for all other items and sets them to zero.
Anyone any ideas?
Any help is really appreciated
Im trying to add a new field to k2, ive added it in the DB as event_date
Ive added it to the code in administrator/com_k2/tables/item.php in the function i added
var $event_date = null;
to
class TableK2Item extends JTable
And i have added the field in item template
Now this all works fine it updates the current item your editing, but... it removes all the date strings for all other items and sets them to zero.
Anyone any ideas?
Any help is really appreciated