By Gunny-1 on
i would like to have search block positioned at the footer, but there is no _block hook for this module.
using 4.5 + chameleon theme.
i would like to have search block positioned at the footer, but there is no _block hook for this module.
using 4.5 + chameleon theme.
Comments
adding a search_block
here's some code you can add to search.module that will create a block.
make sure all users have permission to search content.
scott
the site won't let me post the code. if you post your email i'll send it to you asap.
You can post code!
Just put it between <code></code> marks (other people may find your search block useful too!)
can't post code
i get this error when i try to post the code: Terminated request because of suspicious input data.
any ideas why?
scott
I don't know the
I don't know the filter/parser handling this, but searching for "Terminated request because of suspicious input data" in the drupal search above shows a few hits, mostly to do with HTML code.
Does your code have <head>, <body> or <html> tags in it? There is probably something odd about the code you are pasting. Either that, or there is a bug in the Drupal code parsing the input.
still can't get it to work
post your email if you want the code. sorry.
hi, here is my
hi,
here is my address,
gkkumar12 at hotmail.com
A similar issue was posted
A similar issue was posted here,
http://drupal.org/node/820#comment-7188
But hook_block wasnt implemented. scott has implemented it, but has form functions which are getting terminated when posted here.