Compatibility with me aliases

Created on 20 May 2011, over 13 years ago
Updated 18 April 2024, 7 months ago

The link to edit your social sites does not appear on the user profile when using "me" aliases http://drupal.org/project/me

What happens is the menu access calback calls follow_links_user_access() with 'me' as argument instead of the uid.
Tried to fix it nicely and provide a patch, but I didn't succeed in that.
Now I did this quick temp fix, within follow_links_user_access() I did this:

	if($uid = 'me') {
		$uid = $GLOBALS['user']->uid;
	}

I'm quite sure this is not the way to do it, but it works for me.

✨ Feature request
Status

Closed: outdated

Version

1.5

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium rv0

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.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024