Staff replied Templates

How can I add new fields to the Appointments section of the Medico template

Asked by Zafer Kabakçıoğlu 3 years ago Last activity 3 years ago

I am using the Medico template, in this template there is a section called Appointments. Requests from this section can be viewed in the admin panel. But I want to add new fields to this section, how can I do that?

3 replies

Ofi Khan Staff

Hello Zafer Kabakçıoğlu

You can add fields to the appointments here:

components/com_spmedical/views/appointments/tmpl/default.php

Best regards

Zafer Kabakçıoğlu Asked this

Ok, so what should I do to make these fields appear on the admin side?

Ofi Khan Staff

You have to customize here:

administrator/components/com_spmedical/views/appointments/tmpl/default.php

Zafer Kabakçıoğlu Asked this

I updated all the fields you mentioned, but which file should I update so that the entered values are reflected in the admin panel?

Ofi Khan Staff

You have to add here to show in the administrator:

administrator/components/com_spmedical/models/forms/appointment.xml

Zafer Kabakçıoğlu Asked this

Possible?

Zafer Kabakçıoğlu Asked this
3 years ago · edited

Thank you, but where is the database? because I want to see this information when I enter it.

Ofi Khan Staff

You are welcome 😊

Please go to your database and add a new column on this table

xxxxx_spmedical_appointments

Use your table prefix instead of xxxxx

Log in to reply.