Closed (fixed)
Project:
Search 404
Version:
6.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 Apr 2009 at 13:37 UTC
Updated:
18 Jul 2010 at 00:30 UTC
I needed to put a custom text above the search results 404. Or if can integrate the search in a block, so I put it below the display module custom error.
Thanks
Comments
Comment #1
revnoah commentedI had the same problem, plus I wanted to fix the page title. I ended up modifying search404.module. Not a preferred solution, but these should really be integrated into the module itself.
In search404_settings(), I added the following fields:
In search404_page(), I removed
And added:
Comment #2
k74 commentedI added a block with the text that I was interested in showing, this block is only displayed on the page search404
Comment #3
zyxware commentedHi k74
The solution provided by revnoah, should work, but what was the specific need that prompted the need for this?
If the feature is reusable and needed by other people, we could implement this in a future release.
Let me know if that is required.
Regards
Zyxware
Comment #4
wa2nlinux commentedSolution from K74 made simple but If we can add custom text on search404 it will be more simple. If we not found what looking for then we can add it, the text intructions to add is from custom text.
Comment #5
epersonae2 commentedI would love to see an option to add custom text, ideally along with a custom page title.
Comment #6
wkmit commentedJust tried the solution by revnoah and it does work.
It's useful if you want a single generic message.
Comment #7
zyxware commentedHi k74
After some consideration I have added this feature to search404 in the latest dev.
I have used revnoah, code with a little bit of change to be compatible with the current code base.
Regards
Santhosh Raju
Comment #8
zyxware commentedComment #9
zyxware commentedMarking issue as fixed.