search/node has HTML-filled tab
deekayen - March 7, 2007 - 16:30
| Project: | Troll |
| Version: | 5.x-1.2 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
On search/node, I get a local task tab with the troll search form HTML as the tab text, which spans the whole tab and makes a long scroll to the right.

#1
It caused by function names troll_search.
Try to rename the function and also update the caller will fix the problem.
or
instead of using this function, let the caller call directly to drupal_get_form('troll_search_form');:
// $output = troll_search();$output = drupal_get_form('troll_search_form');
and comment out this function:
/**
* Form builder function
*
* @uses troll_search_form()
* @return string
function troll_search() {
return drupal_get_form('troll_search_form');
}
*/
#2
Thank you. Committed second version as CVS revision 1.26.2.6 which will become version 5.x-1.1.
#3
Glad to help.
BTW thanks for this great Troll module. =)
#4
#5
This seems to have reappeared in 5.x-1.2, so the fix will need to be reapplied there.
The symptom is that the html for the form appears in the tab for the search form. The fix is as described above.
#6
This was fixed in CVS but I had not made a new release
with the fix. I made a new release now so check out
5.x-1.3
#7
Automatically closed -- issue fixed for two weeks with no activity.