Optimize Flexi Content Filter
Flexi Content is a great Joomla content management extension with excellent custom fields that can be filtered using many options. Unfortunately, the view cannot be customized without editing the code. By default, the filters always display info labels, which I find unsightly and which take up a lot of space, but with just a few clicks, you can customize them in the template.
To remove the labels, open the file:
/truckers/components/com_flexicontent/tmpl_common/filters.php
Search for the code:
$filt_lbl = ' Code in Ablage kopieren
'. $filt_lbl; Code in Ablage kopierenChange the code as follows to avoid outputting HTML code. Of course, you can also customize the HTML as you wish.
$filt_lbl = $filt_lbl; Code in Ablage kopierento change the title
fc_filter_label Code in Ablage kopieren/components/com_flexicontent/layouts/items_list_filters/radio_checkbox.php
fc_checkradio_option
Create an override
Since the file is a core file, it will be overwritten with every component update, therefore an override must be created in the current template. will be.
The overrider file must then be created in /templates/YOUR_TEMPLATE/html/com_flexicontent/tmpl_common/filters.php
or
/templates/YOUR_TEMPLATE/html/layouts/com_flexicontent/items_list_filters/radio_checkbox.php