Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

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

Started by Tolga Ulas 7 years ago · 3 replies · 755 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 DrPen, 2 days ago
1 65 4 hours ago
Plugins · by renedebaaij, 1 week ago
1 134 3 days ago
Plugins · by Thomas, 6 days ago
1 143 5 days ago
Plugins · by complanar, 4 weeks ago
6 470 3 weeks ago
Plugins · by BenLaKnet, 3 weeks ago
1 294 3 weeks ago