Hi
I like to have 2 more fields to filter that is model en fabrikant in the admin. Is that possible?
Thx Henk
Hello Henk,
You'll need to make changes in:
admin/feeds_filters.php admin/feeds_filters_configure.php
Each of those scripts has a section that populates an array that is used to construct the field select box; where each line looks like this:
if ($feed["field_name"]) $fields[$feed["field_name"]] = "Product Name (".$feed["field_name"].")";
You would need to add lines like this for each of your new fields; for example:
if ($feed["field_model"]) $fields[$feed["field_model"]] = "Model (".$feed["field_model"].")"; if ($feed["field_fabrikant"]) $fields[$feed["field_fabrikant"]] = "Fabrikant (".$feed["field_fabrikant"].")";
Then you should see you new fields in the drop down list. Don't forget to make these changes in both files...!
Cheers, David.
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hello Henk,
You'll need to make changes in:
admin/feeds_filters.php
admin/feeds_filters_configure.php
Each of those scripts has a section that populates an array that is used to construct the field select box; where each line looks like this:
if ($feed["field_name"]) $fields[$feed["field_name"]] = "Product Name (".$feed["field_name"].")";
You would need to add lines like this for each of your new fields; for example:
if ($feed["field_model"]) $fields[$feed["field_model"]] = "Model (".$feed["field_model"].")";
if ($feed["field_fabrikant"]) $fields[$feed["field_fabrikant"]] = "Fabrikant (".$feed["field_fabrikant"].")";
Then you should see you new fields in the drop down list. Don't forget to make these changes in both files...!
Cheers,
David.