Goal :

Here is a plugin proposal that goes in the same direction as faceapi_bonus, these plug-dependency as "Another facet" that defines in which case the facet that sets will be displayed. I really hope you can help with this contribution, do not hesitate to get back to me with questions or if you have specific needs. This plugin responds to the need of a project that is complex with multiple solr search based on specific context. I simplify best to respond to all cases of use "classic".

Plugin description :

Dependency plugin that allows to disappear one facet (eg "product category") based on other specific aspects or facets elements being active (ie "content type" should not be visible if the "product" or ""active) service. Very flexible, supports multiple facets.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

woprrr’s picture

FileSize
6.05 KB
29axe’s picture

Hello
Thank you for your contribution.
I patched my 7.x-1.1 version but unfortunately it's not working for me. I'm using database service and not Solr.
But applying the patch and clearing cache (etc.) resulted in a blank page on every facet-related pages (tried to reapply patch 3 times). No error raised.
I don't know where it is crashing (Sorry we are in a hurry now so I don't have time to investigate).
Too bad because that functionnality was exactly the behavior we were looking for on our facets.

But I really think that this feature should be added in this module. Great job

woprrr’s picture

@29axe I see what is your problem... I do recreate my patch.

The fix did not you Create File Required in "faceapi_bonus/plugins/facetapi " ... I Will Post again , BUT the patch will create the file .

woprrr’s picture

OK, Try this for patch 7.x-1.1 version ;)

Its all ok now normaly.

woprrr’s picture

Priority: Normal » Major

This feature it interested you the mainteners ? If so there is the possibility of port this ?

thePanz’s picture

Dear @woprr, first of all thank you for your contribution!
From a first scan of your patch I noticed that some comments are in french :)

Could you also describe the differences between your plugin and the other plugins available in this module and the use-case scenario for this plugin?
Thank you again!