- Posts: 11
- Thank you received: 0
SPortal Search - no button, just a "0"
-
acalderon
Inactive member -
Topic Author
- New Member
-
Less
More
11 years 3 months ago #35730
by acalderon
SPortal Search - no button, just a "0" was created 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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 3 months ago #35734
by ivan.milic
Replied by ivan.milic on topic SPortal Search - no button, just a "0"
?, send link.
Please Log in to join the conversation.
-
acalderon
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 3 months ago #35740
by acalderon
Replied by acalderon on topic SPortal Search - no button, just a "0"
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
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
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 3 months ago #35745
by ivan.milic
Replied by ivan.milic on topic SPortal Search - no button, just a "0"
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.
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
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 3 months ago #35747
by acalderon
Replied by acalderon on topic SPortal Search - no button, just a "0"
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
/*
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
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 3 months ago #35748
by acalderon
Replied by acalderon on topic SPortal Search - no button, just a "0"
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
-AC
Please Log in to join the conversation.
Time to create page: 0.170 seconds