How to display block only for current logged in user?

Created on 21 May 2020, over 4 years ago
Updated 2 December 2024, 20 days ago

I have a menu block called User Dashboard that I only want to appear on the current logged in user's user page.

I currently have the following page restrictions in the block settings:

/user/*
!/user/posts
!/user/*/edit
!/user/saved

But this displays the block on all user pages. What I need is something like the following:

/user/%{current-user}

Can anyone offer help on a way to achieve this?

πŸ’¬ Support request
Status

Closed: outdated

Version

1.5

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States playful

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