0

I have rewritten edit.php in /administrator/components/com_content/views/article/tmpl/edit.php to create an Events tab just like in this screenshot

enter image description here

The only main issues I'm facing is how to to Save these 3 (Start Event, End Event and Location Event). I've looked up in /administrator/components/com_content/models/article.php and yet to find a good example to follow on how to save into the database.

Need help how to save these 3 new input into #__content table database. And Yes, I have created 3 column for these 3 in table #__content

1

No no no, do not modify core edit.php or add columns in a core table. This file is going to be replaced in any upcoming update, and your new table columns are not a good practice.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.