开发者

Drupal - Tag a user with own username

开发者 https://www.devze.com 2023-02-07 01:07 出处:网络
I\'m trying t开发者_如何学JAVAo work out the best way to add a node\'s author to a list specific to the current user, which could be used create a \'favourite user\' list for example.

I'm trying t开发者_如何学JAVAo work out the best way to add a node's author to a list specific to the current user, which could be used create a 'favourite user' list for example.

I'm not sure about the best approach here... one idea I have in mind is to tag the node's author with the current user's username somehow, and then filter a user list with Views...

So I guess my actual question is 'Can you tag a user/user profile with the current user's username?'

This functionality would be useful for several networking things I have in mind!

Cheers, James


Solution:

Try that Flag module.

Add arbitrary flag to be displayed on node/profile. Add custom rules OR hook_flag.

Done.

0

精彩评论

暂无评论...
验证码 换一张
取 消