Skip to content

creativeorange/craft-didread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Craft Didread

A plugin to add some sort of inbox-functionality to Craft CMS.

Usage

To check if a user has read the entry:

{% set isRead = craft.didread.user(currentUser).hasReadEntry(entry) %}

To mark the entry as read:

{% set asRead = craft.didread.user(currentUser).markAsRead(entry) %}

To mark the entry as unread:

{% set asUnread = craft.didread.user(currentUser).markAsUnread(entry) %}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages