Block module visibility settings are bypassed.

Created on 24 July 2011, over 13 years ago
Updated 27 January 2023, almost 2 years ago

Helo,

I've create a custom block with contain simple html link to other page, I set visibility for anonymous users only. But after I login, the insert_block filter still render the block and visible to authenticated user. I try to set PHP block visibility with use !$user->uid as return TRUE value and set permission to anonym to use PHP block visibility permission, but with no luck, the block still rendered when i login. But when the block I try to put on left sidebar, it's working normaly.

Any advice? I'm just web designer with no experiences with module development.

Thank you.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇩Indonesia sandie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024