Keyword

Trying to Add a new field (NOT EXTRA FIELD)

  • Paul Cullen
  • Paul Cullen's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #76209 by Paul Cullen
Trying to Add a new field (NOT EXTRA FIELD) was created by Paul Cullen
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

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #76210 by Daniel Proczko
Replied by Daniel Proczko on topic Trying to Add a new field (NOT EXTRA FIELD)
Did you ever find a solution to this?

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago #76211 by william white
Replied by william white on topic Trying to Add a new field (NOT EXTRA FIELD)
have you seen
Sherpa

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum