SPortal Search - no button, just a "0"

  • acalderon
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #35730 by acalderon
Hi,

I just updated my Joomla to 3.2. I also just noticed that the "search" box now has a "0" to the right of it. The settings have no button visible but "Right" selected as the position. When I change the position to "Left" the zero appears to the left; when I set it to display a button the zero is replaced by the button.

How can I get rid of the 0? Thanks very much!

-Calderon

Please Log in to join the conversation.

More
11 years 3 months ago #35734 by ivan.milic
?, send link.

Please Log in to join the conversation.

  • acalderon
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #35740 by acalderon
Hi,

My site isn't yet publicly accessible, but I've attached screenshots.

I think it has to do with how Joomla 3.2.1 handles drop-down menus; it doesn't allow an empty selection, which means the HOT Scroller also won't allow me to select "no category" and just the article IDs.

-Cal
Attachments:

Please Log in to join the conversation.

More
11 years 3 months ago #35745 by ivan.milic
Check:

templates\hot_sportal\html\mod_search\default.php if you can not that strange zero to remove it. Or submit that file here so we could check it.

Please Log in to join the conversation.

  • acalderon
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #35747 by acalderon
I commented out this code:
/*
switch ($button_pos) :
case 'top' :
$button = $button.'<br />';
$output = $button.$output;
break;

case 'bottom' :
$button = '<br />'.$button;
$output = $output.$button;
break;

case 'right' :
$output = $output.$button;
break;

case 'left' :
default :
$output = $button.$output;
break;
endswitch;
*/

And now it's gone. It's a Band-Aid solution, but it works, so I'm not complaining. But this begs the second question: If I can no longer select "nothing" from a drop-down menu, how can I get something (e.g., HOT Scroller) to work as intended?

-AC

Please Log in to join the conversation.

  • acalderon
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #35748 by acalderon
Sort of found the answer--I inserted an empty copy of the HOT Scroller module, so that the default value was empty. Works for me!

-AC

Please Log in to join the conversation.

Time to create page: 0.170 seconds
Powered by Kunena Forum