Active
Project:
Facet API
Version:
7.x-1.2
Component:
Usability
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2013 at 19:55 UTC
Updated:
13 Sep 2018 at 07:21 UTC
Jump to comment: Most recent
Hi frends,
i use
there is two custom facets (Implements in hook_facetapi_facet_info()):

but i need both in one block (form):

Is it possible? How i can resolve this task?
Sorry if this has already been discussed
Thanks,
Max
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot need.png | 9.08 KB | theaidem | |
| Screenshot is.png | 12.19 KB | theaidem |
Comments
Comment #1
cpliakas commentedHi drupunk.
I'm not sure if facetapi_multiselect will work with this module, but something like http://drupal.org/sandbox/thegreat/1230568 is what you need. Unfortunately it is a sandbox project, but a lot of work has been done on the Facet API side to ensue that as little code is needed as possible in order to achieve this.
To put this in another way, there is a realm that displays all facets in a single block. You could use this to group your two facets.
Hope this helps,
Chris
Comment #2
theaidem commentedThanks for reply Chris,
Unfortunately is sandbox project (Facet API Block), not solved the problem for me, because i need a single block and single form width two multiselects and one submit button
I tried make this an realm system, but didn't understand how work it.
custom_facet.module
And where my block "Combo facets"? What am I doing wrong?
Thanks,
Max
Comment #3
j4 commentedHi did you get this working? If yes could you please share the code?
Thanks
Jaya
Comment #4
davewilly commentedAny update on this? Thanks.
Comment #5
user654 commented.
Comment #6
Coyote6GraphX commented@theaidem thanks for posting that info. I know it is 5 years later, but it helped me write a module to do this. For anyone who needs it:
https://github.com/Coyote6/drupal-7-combined-facet-block
Comment #7
nwom commented@Coyote6GraphX would you mind posting it as a module on drupal.org? Thank you by the way, I'll be sure to check it out.