I'm not saying that hook_search does not work. I'm saying that the api documentation for hook_search, what I tried to use in order to learn how to use hook_search, is incorrect. I have documented what I found here: http://drupal.org/node/271392
check_outputdeprecated since Drupal 4.7.
And, the code, even when fixed, doesn't work. At least, I've not been able to get it to work. Hopefully I'm wrong, but it seems like an incredible oversight and I can't believe no one else has discovered it until now.
Opened Drupal Documentation issue here: http://drupal.org/node/271604Could you describe why you think the documentation is incorrect ? I've used it to create other searches without specific problems. How was core not compliant with the documentation in your case ?
Also, could you please open this as an issue against Drupal/search or Documentation/In CVS so the issue and its eventual resolution remain more widely available in the future ? Others might meet the same problem as you.
Frederic G. MARAND
OSInet
----- Original Message ----- From: "Ron Parker" <sysop@scbbs.com>
To: <development@drupal.org>
Sent: Tuesday, June 17, 2008 7:49 PM
Subject: [development] Help with hook_search
I just submitted an issue here: http://drupal.org/node/271604. The
Drupal 5.x and 6.x hook_search documentation is incorrect.
I just want to add another tab to the search form that, for right now,
just does another regular search. Not specialized in any way (at least
right now). Just a normal search, but the api documentation is
incorrect and I can't find any examples anywhere of how to do this.
Can someone point me in the right direction, or show me the hook_search
api code that *does* work?
Thanks!
-ron
--
Ron Parker
Software Creations http://www.scbbs.com
Self-Administration Web Site http://saw.scbbs.com
SDSS Subscription Mgmt Service http://sdss.scbbs.com
Central Ave Dance Ensemble http://www.centralavedance.com
R & B Salsa http://www.randbsalsa.com
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date: 16/06/2008 07:20
__________ NOD32 3194 (20080617) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
-- Ron Parker Software Creations http://www.scbbs.com Self-Administration Web Site http://saw.scbbs.com SDSS Subscription Mgmt Service http://sdss.scbbs.com Central Ave Dance Ensemble http://www.centralavedance.com R & B Salsa http://www.randbsalsa.com