Closed (outdated)
Project:
Custom Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2013 at 16:33 UTC
Updated:
21 Oct 2025 at 12:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
certifiedGeek commentedI tried the following code in my template.php, but I think the action must be dynamically set somewhere else.
Comment #2
jdanthinne commentedCan you try the attached patch?
Comment #3
tarheeldev commentedI tested the patch and it appears to work. Thank you.
Comment #4
jdanthinne commentedGreat news. Thanks for the review.
Comment #7
jdanthinne commentedThe patch broke the custom blocks for many user… that was not the correct solution then.
Comment #8
sylus commentedHas there been any progress on this issue as has been tripping me up as well. Was the only reason the previous patch removed because other search paths were being used?
Comment #9
jdanthinne commentedThe reason to remove the parch was this issue: #2233325: upgrading to 1.14 breaks custom search block.
Being busy updating the module for D8, no progress has been made… but help is welcome.
Comment #10
vfranklyn commentedHi there. I've run into this problem on my D7 site. Has there been any further development on this issue, by any chance? Is there something you could suggest I do on my end that might fix it? I know you are busy and it really is a terrific module, so thank you.
I'm completely unskilled in any sort of code contribution, so I'm sorry I can't help.
Comment #11
SDJH commentedHi All, just run into this issue for my D7 website. Exactly the same problem as described above, has anyone made any progress on this? Not entirely confident using the above patch as it seems a bit risky.
Comment #12
tamer.kamel commentedTo change the url of search result page from search/node/[key] to another like mysearch/[key] through custom search module there is function missing here to define the new url which is mysearch/[key] in the meny. you can create any module with hook hook_menu_alter or just add this path to custom search module.
I tested this well and I hope fixed the problem with you like me. welcome for any reply.
Comment #13
kmontyThe patch in #12 did not work on my site. However, #2 did.
I realize the #2 patch broke sites--presumably because they did not have the path as defined. Here is a hybrid patch that combines the fix in comment #2 from @jdanthinne with some of the logic in #12 from @tamertama.
My attempt with this patch is to allow site owners to have different search paths other than
search/node. I recognize this might not be perfect, but I hope it's a valuable starting point to resolve this issue.Comment #14
kmontyComment #15
loon commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
Everyone can apply the patch above (not tested by the community) to their D7 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!