- Posts: 31
- Thank you received: 2
Article access level with {mprestriction ids="x"}
- jr
- Topic Author
- Offline
- Junior Member
-
Less
More
8 years 11 months ago #80545
by jr
Article access level with {mprestriction ids="x"} was created by jr
I want to restrict a section of an article such that only subscribers may view it. I plan to insert {mprestriction ids="x"} . . . {/mprestriction} around the restricted section.
Within Joomla's article editor, must I set Access = Registered for the article?
If so, will public (non-subscriber) users still be able to view the unrestricted parts of the article?
Within Joomla's article editor, must I set Access = Registered for the article?
If so, will public (non-subscriber) users still be able to view the unrestricted parts of the article?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 11 months ago #80579
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Article access level with {mprestriction ids="x"}
No, you can just set Access of the article to Public so public users can see the unrestricted parts of the article
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- jr
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 2
8 years 11 months ago #80596
by jr
Replied by jr on topic Article access level with {mprestriction ids="x"}
Thanks for your quick response, Tuan.
Please Log in or Create an account to join the conversation.
- jr
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 2
8 years 11 months ago #80684
by jr
Replied by jr on topic Article access level with {mprestriction ids="x"}
FYI, I submitted a pull request in GitHub for adding a clarification in your documentation about the access level.
I just wanna check with you: I'm happy to submit doc changes when such answers arise. Is that something you want, or would you rather I didn't?
I just wanna check with you: I'm happy to submit doc changes when such answers arise. Is that something you want, or would you rather I didn't?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 11 months ago #80715
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Article access level with {mprestriction ids="x"}
That would be great. Thanks for willing to help me with the doc changes
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.