[support] How to prevent block-user from showing up in theleftsidebar

Michelle Cox mcox at charter.net
Wed Jun 28 16:32:36 UTC 2006


Make sure you have access enabled for it.  (#1 on 
http://drupal.org/node/64135 )

Michelle


On 6/28/2006 11:22:09 AM, Gina Rydland (girydlan at online.no) wrote:
> Hi
>
> Hmm don´t seem to have that option at all. The only thing I have is path.
>
> Gina
> ----- Original Message -----
> From: Jonathan D. Wright
> To: support at drupal.org
> Sent: Wednesday, June 28, 2006 5:12 PM
> Subject: Re: [support] How to prevent block-user from showing up in
> theleftsidebar
>
>
> Configure your block on the admin-->block page.
>
> Under "Show block on specific pages," select the radio button for
> "Show if the following PHP code returns TRUE (PHP-mode, experts only)."
>
>
> Enter the following PHP code:
>
> <?php
> global $user;
> return ($user->uid);
> ?>
>
>
>
>
>
> On 6/28/06, Gina Rydland <girydlan at online.no> wrote:
> Hi all!
>
> When I create new blocks I want them to just appear on the nodes/sides
> after people have logged in. So that they are only visible for those who
> are logged into the site.
> I do not want these blocks to appear on the front side before people are
> logged in.


More information about the support mailing list