I need categories by activity type and not by region. So I need some additional custom fields depending on the activity. How can I add some (text type, like the ones that already exist)?
Miltos
custom fields
Hi
Could you share screenshot illustrating how you want to achieve? I'm not sure which activity type you're referring to atm.
My categories are not by region (eg Berlin, Thailand, Paris, etc.), but by activity: hiking, climbing, diving, etc. So I'll need to display in the sidebar, fields that correspond to only in some of the categories, some extra fields. Any instructions on how I could create extra fields for the sidebar?
Miltos
Hi Miltos,
These are categories' names only, you can create your own categories.
If I got correctly, you want to display custom fields in the sidebar and sort items by these fields, right? You can consider to find an extension to filter / sort like JA Megafilter component: https://ja-megafilter.demo.joomlart.com/index.php/joomla-custom-fields-filter
Regards
No, I just need to make some more custom fields. How do I do this?
Miltos
Hi @miltos
You can add custom fields in the file [Root]/templates/ja_trip/etc/extrafields/tour-info.xml and modify the display in the tour details in the file [Root]/templates/ja_trip/html/com_content/article/tour.php.
If needed, we can help you add values for the custom fields to display in the sidebar.
Regards,