Hiding topics instead of listing them as secure
Would it be possible to hide the topic from view (when logged in) instead of showing the topic with a red lock icon on say the index page?
Comments
Log in or create an account to post a comment.
Would it be possible to hide the topic from view (when logged in) instead of showing the topic with a red lock icon on say the index page?
Re: Hiding topics instead of listing them as secure
hide_locked
. You can find the setting in the Admin panel under Preferences -> Permissions -> Miscellaneous. Do you have an example where it should hide the link, but it doesn't?This behavior does not apply to links you set directly inside a page like
((ProtectedPage Hide me))
.Re: Hiding topics instead of listing them as secure
Hiding links to inaccessible pages
((ProtectedPage Hide me))
to inaccessible pages, but this is conceptually not desired. Using thetree
action or a customized action for this purpose is probably the best way.There are a couple of possibilities to show only the pages the user/usergroup is allowed to access.
The following solution is the easiest and most common one.
/Manual/100
/Manual/200
HomePage:
{{tree page="/Manual" depth=1 title=1 nomark=1}}
Manual
cluster ensures, that it loads only the pages inside the cluster.depth
defines that it shows only the first level.nomark
parameter suppresses the frame around the results.title
parameter ensures it takes the page title (default).Of course it depends on how you want to organize your wiki structure.
Usually you set a GROUP in the read ACL's and add than the users to that group.
You may copy the tree action and create a modified version which fits your special purpose.
For some reasons there is no template for the tree action yet, where you can change the output directly.