开发者

Drupal - Tag a user with own username

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜