Posted by j9 on April 17, 2005 at 6:41pm
9 followers
| Project: | Democratica |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Thanks for this beautiful design. It's gonna convert some users to Drupal. :)
When I go to add a block to the right column w/ 4.6.0, I get an extra search box that just appears out of nowhere. Even when I disable the search in the modules and blocks, the search box is still there. It does go away if I remove the right column altogether.
It's a different search box, too, than the one that shows up as a real block. It says "Search this Site".
So whenever I add anything to the right hand side, I get a search box at the top, regardless.
Not sure if you've already noticed this, or if this was your intention.
thanks always, in all cases.
Comments
#1
i've seen the same problem with my use of this theme
#2
Also having this problem; can be seen here: http://uchebno.nfshost.com
#3
Ditto, same here, I disabled the search block that normally shows. Still odd...
#4
same here : )
#5
serch this line in file style.css
#search {padding-bottom: 1.0em;
}
and add this line:
#search {display: none;
/* padding-bottom: 1.0em; */
}
I title will continue in the column but the search box not.
#6
Hi,
With my self made themes - for which I used Kubrick's theme as a good starting point, I had the same problem; didn't have a clue where the extra search boxes came from. Till I just discovered where it was all about!
Since I use the sections module to have different layouts for different pages, I have to use multiple themes. In the administration of each theme - and in the global settings as well - one can find a checkbox called "search box". Somehow, for three themes this box was checked. To uncheck:
- Administer > Themes > Global settings > Toggle display > Search box > Uncheck
- Administer > Themes > Themename > Toggle display > Search box > Uncheck
Hope this will help for you!
Cheers,
Marc
---
Discover new oceans
lose sight of the shore
#7
Oops... Small mistake! Of course I meant:
- Administer > Themes > Configure > Global settings > Toggle display > Search box > Uncheck
- Administer > Themes > Configure > Themename > Toggle display > Search box > Uncheck
Marc
#8
If you want the entire search section gone (the bar and the text), you can remove the following two sections from page.tpl.php. After you do this the search form module will work as expected.
SECTION ONE
<?php if ($search_box && $layout == "right" || "both" ): ?><!-- START: SEARCH -->
....remove everything between these lines as well
<?php endif; ?>
SECTION TWO
<?php if ($search_box && $layout == "left" ): ?><!-- START: SEARCH -->
.... remove everthing between these lines as well
<?php endif; ?>
#9
The problem is with the "|| both" remove it and it will work both on both left or right and it will not display if deselected.
--- page.tpl.php 2005-11-18 14:03:19.000000000 +0000
+++ page.tpl.php.new 2005-11-18 14:03:37.000000000 +0000
@@ -196,7 +196,7 @@
<!-- END: NAVIGATION -->
<?php endif; ?>
- <?php if ($search_box && $layout == "right" || "both" ): ?>
+ <?php if ($search_box && $layout == "right"): ?>
<!-- START: SEARCH -->
<div class="block block-search" id="block-search">
#10
Is this going to be fixed in the distributed theme at some point? I wouldn't hav minded leaving there so much but it doesn't even return any search results, empty or otherwise.