Drupal 7 Views 3 user:current filter is missing?

前端 未结 2 523
慢半拍i
慢半拍i 2020-12-14 16:49

I\'m trying to filter a view to display only nodes of the current user. Filter by user:current is missing however, where can it be found/enabled?

I must be missing

2条回答
  •  有刺的猬
    2020-12-14 17:49

    You can use another method without require any relationship. in Advanced settings add Contextual filters select Content: Author uid and in settings of it select Provide default value ,in type selectbox choose User ID from logged in user

提交回复
热议问题