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

darxtar - March 8, 2007 - 12:57

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

deekayen - March 8, 2007 - 15:09
Status:active» fixed

Thank you. Committed second version as CVS revision 1.26.2.6 which will become version 5.x-1.1.

#3

darxtar - March 16, 2007 - 10:00

Glad to help.
BTW thanks for this great Troll module. =)

#4

Anonymous - March 30, 2007 - 10:01
Status:fixed» closed

#5

Thomas Sewell - July 29, 2008 - 20:32
Version:5.x-1.x-dev» 5.x-1.2
Status:closed» active

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

jaydub - July 30, 2008 - 10:31
Status:active» fixed

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

Anonymous (not verified) - August 13, 2008 - 10:34
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.