Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Various Content based on the member's level in the page

Started by Tolga Ulas 7 years ago · 3 replies · 661 views
7 years ago

Hi, I know Login plugin handles membership, but could not figure out how to display different content to different users/groups. Ie. There is a teaser content which is public which is followed by a member/paid content that is displayed to only logged in/special group of users.

Is it possible?

7 years ago

Let me clarify. One page may have three paragraphs; p1,p2,p3. I want p1 displayed to anonymous user, p2 to user group: silver and p3 to user group: gold. In other CMS this can be done by enveloping (by a tag, section etc?) the p2 and p3 with parameters of the group permitted to see. I am quite new to Grav but I felt this is doable in nature, I wonder has anybody attempted it already.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 5 days ago
0 118 5 days ago
Plugins · by Vladimir Novak, 1 month ago
3 581 1 month ago
Plugins · by Mathieu Lecouturier, 1 month ago
3 394 1 month ago
Plugins · by Slebeig, 2 months ago
1 510 2 months ago
Plugins · by Rene, 3 months ago
2 704 3 months ago