Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I enabled the OG search block and used the OG Block visiblity module to display it only in my OG's
When I enter a search term in the OG search form I am redirected back to my site home page?
Any ideas?
Comment | File | Size | Author |
---|---|---|---|
#5 | search_in_group.tar_.gz | 2.98 KB | bjhardin |
Comments
Comment #1
ludo1960 CreditAttribution: ludo1960 commentedUsing firebug the code is :
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedyou have ignored the notice when creating an issue to reproduce the problem without og helper modules
Comment #3
ludo1960 CreditAttribution: ludo1960 commentedOOPs sorry.
I was unaware of any such notice, where is it? Ok so I disabled everything apert from OG and OG views integration. The problem remains, searching from within a group takes me directly back to the home page without any search results. Clearing the Views cache makes no difference. Any thoughts?
Comment #4
ludo1960 CreditAttribution: ludo1960 commentedJust installed 6.x-2.x-dev (2009-Apr-24) Group Search still takes me back to home page (no search results)
Comment #5
bjhardin CreditAttribution: bjhardin commentedWe had the same problem and sponsored a custom module to fix it. I don't know if this is the best solution, but it works for us. I'd love feedback from other Drupal users and developers.
We have OG version 6.x-1.1 enabled.
Comment #6
khan2ims CreditAttribution: khan2ims commentedHi,
I too was having the same problem that when i exposed the filter, the search took me to home page.
Then I did a little of research(ok, it was google search!) and found out that only if we add "page" display, the exposed filter works as search. Now I have a well functioning search.
Imran Khan
Project Manager
New Earth Marketing
Comment #7
GarenCheckley CreditAttribution: GarenCheckley commentedkhan2ims,
when adding a "page" display, what path did you list? I am having the problem described in this thread, added a page display to the view, but my incorrect path returns errors when searching.
Thanks,
garen
Comment #8
Bernardine CreditAttribution: Bernardine commentedgaren,
I had the same problem and question ... as part of my testing I plugged "search" in as the path and lo and behold it seems to have just worked.
Comment #9
mcpuddin CreditAttribution: mcpuddin commentedUse a path like search/group/%
You need to make sure the % is there in order say you are searching that group
Comment #10
caschbre CreditAttribution: caschbre commentedI'm also experiencing the same issue. I've disabled the helper modules and enabled the group search block. I'm using 6.x-2.0.
I tried modifying the og_search view to add a "page" but wasn't able to get it to work with different values in the page path setting.
EDIT: Ok, I think my problem was I had actually cloned og_search to my_og_search and then disabled og_search. Would that cause this issue?
Comment #11
ludo1960 CreditAttribution: ludo1960 commentedTried every path possible, still cant get it to work! Anyone?
Comment #12
marcp CreditAttribution: marcp commentedDuplicate of #333072: Problem with group search.
Comment #13
cooldeeponline CreditAttribution: cooldeeponline commented#6+#9 is the solutions that works.. thank you both!!!!