Active
Project:
Faceted Search
Version:
5.x-1.0-beta4
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2008 at 00:16 UTC
Updated:
30 Jul 2008 at 16:25 UTC
I'm looking for some help on the following:
I want to be able to have the 'Guided Search' block show for each OG with that group's facet already selected. So the 'Guided Search' block functions as a group menu of sorts.
How can I do this?
Comments
Comment #1
henry_searle commentedI've done this on Drupal 6 by making every group also a term in a 'Group' vocabulary.
I've then hidden the groups vocab when you add or edit content.
Then before it saves (which is 'presave' on drupal 6) I add the taxonomy terms to the node object so the taxonomy module does the rest for you.
Then just add the taxonomy vocab to the faceted search environment.
However this is with the Drupal 6 version
Alternatively there is this module http://drupal.org/project/og_facets but I'm not sure how that works
Comment #2
irtech commentedI have the OG_facets module and it works fine (this is actually the basis for what I want).
When I click one of the groups (from og_facets) in the 'guided search' block, it then only lists content related to that group (which I want).
I would like to know how I can get the 'guided search' block to default to that status (single group selected).
For example:
I have group a, b, and c. If I'm on the Group A landing page - the 'Guided Search' block has 'group A' already selected and only showing content/facets for that group. Then I go to Group B's landing page and the 'Guided Search' block shows only content/facets for Group B.
Basically I need to somehow pass an argument of the group name/id to the 'guided Search' block - so that it will already have narrowed the criteria.
I'm comfortable with changing code if that makes any difference.
Thanks in advance!