Hi !

I saw the youtube instructions video "Defining Menu Badges with Views in Drupal"
And it was easy to understand how to create a menu badge view outputting the number of content of a content type or published or unpublished content.

However I cannot manage to filter down the view to display the actual unread content.

For example I have a content type with 75 content in. With the instructions from the video, I can manage to output the number 75 and than use that view in a badge, but what I need is the number of unread content of that content type based on the current logged in user.

I cannot manage to further filter down the view, since there is no "unread content" or "viewed content" filters in views.

there is however a field called "new comments" that produce the number of unread comments in context to the current user. This is very similar to what Im looking for only I want it to be the number of unread nodes or content from a content type.

The nearest I could find was a filter called "new content" wich filters out new or updated content.
However "new" content must be based on some time interval.. Whatever "New" is does not filter out read content.

Offcourse I could create a flag as a button (called mark as read) that users can press, and then use rules in views to filter/ agregate a number of unread content that way, but I dont want a button like that.

Does not Drupal store wheater a node`s adress has been visited or not ? (it does with comments),
and then use that information as a filter in views ?

Any help is much appretiated !
Bstrgds
Tor.

Comments

zengenuity’s picture

Status: Active » Closed (works as designed)

I think you have to have statistics module installed to enable the accesslog functionality you are looking for. (though I'm not totally sure)