funci
Hi,
To add new field, you will need to change in 2 below files:
[root]/templates/ja_fit/etc/extrafields/gym-info.xml
[root]/templates/ja_fit/html/com_content/article/default.php
For example, I try to add a new field called location , in the gym-info.xml file, I declare this:
<field name="location" type="text" label="TPL_LOCATION_LABEL" description="TPL_LOCATION_DESC"/>
then in the override file of article: default.php file, I add code to render this field on front-end: http://prntscr.com/l64pwn
I attach these 2 files here so you can see the changes
To change the text, you go to Back-end > Extensions > Languages > Overrides and add the translation for some constants you see in above gym-info.xml file: TPL_EXERCISE_TYPE_LABEL, TPL_DURATION_LABEL, ....
Regards