Where can I change an extra field name? This seems not possible. Why?
also I want to add some extra field. Where can I do this?
Edit extra fields (and create new)
- Edited
Hi @guzzelmo
To avoid losing files during an update, you can follow these steps:
- First, create a new XML file (e.g., team-2.xml), in the root directory /templates/ja_sport/etc/extrafields/ .
- Then, move the file located at root /templates/ja_sport/html/com_content/article/team.php to the root directory/templates/ja_sport/local/html/com_content/article/.
Regards,
I tried renaming some extra fields. Also I tried to add a new one. Neither solution works. Indeed, to go back I had to do a backup restore
14 days later
This message is visible to Moderators only
hidden content
This message is visible to Moderators only
hidden content
- Edited
I just updated 2 files (as we mentioned above)
root/templates/ja_sport/etc/extrafields/team.xml
root/templates/ja_sport/html/com_content/article/team.php
in which I changed the team_nationality to team_color
and you can see the change in article page now: index.php/team/17-percorsi-dati/78-vk-korrasi
teamxml.zip
957B
teamphp.zip
3kB
P/s: you may need to override the new language constant as well: TPL_COLOR
This message is visible to Moderators only
hidden content
But in the home page the same extra fields are not visible in the "percorsi" module. Why?