Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

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

Started by Tolga Ulas 7 years ago · 3 replies · 482 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 Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 47 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 71 2 months ago