[themes] Search box in Bluebeach

Sean Wingert seanw at norris-stevens.com
Tue May 6 00:22:22 UTC 2008


Yes, perfect thank you, Florian! However, now only the admins can see the search box on the front page; anonymous users cannot. All other pages are working correctly.

Sean

From: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] On Behalf Of Florian Loretan
Sent: Monday, May 05, 2008 5:04 PM
To: A list for theme developers
Subject: Re: [themes] Search box in Bluebeach

You probably haven't given anonymous users to search your site content. In drupal 5, the permissions can be administered at http://example.com/admin/user/access. The search box is only displayed for users who are allowed to search content.
On Mon, May 5, 2008 at 4:52 PM, Sean Wingert <seanw at norris-stevens.com> wrote:
Just a quick question about the danger4k theme (built on Bluebeach). Everything appears to work fine but the Search box is not visible for anonymous users. How do I fix that?

Here's what I've already tried:
1. admin/settings/site-information (Toggle Display, Search Box)
  Interestingly, when I turn this off, the search box disappears for all users
2. Modifying this code from template.php to print the search_box on all pages (no luck)

     <?php if ($sidebar_left): ?>
       <div id="sidebar-left" class="sidebar">
         <?php print $search_box ?>
         <?php print $sidebar_left ?>
       </div>
     <?php endif; ?>

I suspect I'm missing something basic. Any thoughts?

Sean
_______________________________________________
themes mailing list
themes at drupal.org
http://lists.drupal.org/mailman/listinfo/themes



More information about the themes mailing list