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.

Comments

torrance123’s picture

I can confirm the same bug, using d7 and 7.x-1.0.

Starminder’s picture

Ditto.

altrugon’s picture

The 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.

altrugon’s picture

Status: Active » Needs review
StatusFileSize
new713 bytes

Here is a patch against branch 7.x-1.x that places the custom text at the very beginning of the page.

smithmilner’s picture

StatusFileSize
new705 bytes

Here is a version of the #4 patch rolled with diff --no-prefix --relative to make it drush make friendly!

Buckminster_Bond’s picture

Patch works for me - thank you.

zyxware’s picture

Assigned: Unassigned » zyxware
Status: Needs review » Fixed

This 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.