add filter for custom taxoonomies

Posted in: Newsmag
Post count: 17

Hi,

i have a couple of custom taxonomies.
I got everything up and running so far.
Only one functionality is missing, using the ajax filter for the custom taxonomies.

I already extended the filter dropdown list (based on td_config.php) in the admin backend and the terms of the chosen taxonomie is shown in the drop down list in the frontend. In the HTML code the data-td_filter_value has the correct term-id. Therefore I extended the td_block.php.
But by clicking one of the terms, only the standard view is shown, the filter doesn’t work.

I guess there has to be something set in the jQuery file or configuration, but I’m not sure where to investigate.
The td_ajax.php deals with the filters, is there a way to add parameter for a tax_query so that the ajax is looking for the term_id instead of the category id?

Thanks for a hint.

Post count: 6535

Hi

The theme wasn’t designed to support custom taxonomies in block’s filter. To achieve that you will need many customization in theme’s files and unfortunately I can’t provide a solution now. Basically you need to edit the td_data_source.php file and alter the query in order to have your custom taxonomies in filter: http://screencast.com/t/4P3AnaBK0
Please consider that this is a complex task which require advanced coding skills, also many customization and tests. If you can’t do this by yourself my advice is to look for someone which can help you with this or hire a freelancer to do it for you as we can’t offer any type of custom work at the moment.

Thanks!

Post count: 22

Please consider implementing this or give some further help.
I really need this feature.
Thanks!
Francesco

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.