Closed (fixed)
Project:
Search 404
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Apr 2011 at 10:22 UTC
Updated:
3 Sep 2011 at 22:12 UTC
Jump to comment: Most recent file
Under "Advanced Settings" there's a feature that says "insert custom text". I stuck some text and our homepage in there, but it's not showing up. The rest of the page works correctly, including parsing my search terms.
Try it here: http://pagelever.com/testsearch404 - you should see a text message above the search results.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | dm_add_custom_page_text-1135346.patch | 705 bytes | smithmilner |
| #4 | add_custom_page_text-1135346.patch | 713 bytes | altrugon |
Comments
Comment #1
torrance123 commentedI can confirm the same bug, using d7 and 7.x-1.0.
Comment #2
Starminder commentedDitto.
Comment #3
altrugon commentedThe reason because the custom text is not getting displayed is that the variable 'search404_page_text' is never added to the output of the page.
Comment #4
altrugon commentedHere is a patch against branch 7.x-1.x that places the custom text at the very beginning of the page.
Comment #5
smithmilner commentedHere is a version of the #4 patch rolled with diff --no-prefix --relative to make it drush make friendly!
Comment #6
Buckminster_Bond commentedPatch works for me - thank you.
Comment #7
zyxware commentedThis has been fixed in the latest dev branch. I have moved the block into the if block which tests for permissions and runs the searches.