Posted by sinasquax on August 14, 2009 at 11:04am
Jump to:
| Project: | Search 404 |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hello, i have made a little patch to add an option which allows user to set a node to be shown under the search box in the 404 page.
Set the nid of the node to be shown in the search 404 settings (you can set a translated node, set his tnid instead nid)
| Attachment | Size |
|---|---|
| search404.module.patch | 2.99 KB |
Comments
#1
Hi sinasquax
I see the node appears above the search box and not below
+ $output .= drupal_get_form('search_form', NULL, $keys, $type_search) . $results;Is done after the node has been appended to the output.
What do you think?
Regards
Santhosh Raju
#2
Yes i would mean "above" instead "under" :)
If you want the node under the form, just change the line you mentioned.
It could be cool having a setting to choose the place where the node appears.
#3
Hi sinasquax
In the current dev version of seach404 is the a settings in the admin page that allows you to add custom text just below the search form and before the search result.
So this effectively adds an option to show custom text like you intend to achieve with this patch? Do you think this will get the job done?
Regards
Santhosh Raju
#4
Issue queue cleanup.
Marking issue as fixed. Feel free to reopen if you feel otherwise.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.