-
Posts
28 -
Joined
-
Last visited
Posts posted by planmacher
-
-
Hello,
I can't get this module to work - perhaps you can help me.
I have a very simple page tree:
All of the first level pages (under "home" ) have the same template. So it is not possible to restrict a branch via user roles. But AdminRestrictBranch sholud do this... - but how?Lets say I woluld like to restrict the user "test" to the branch "projekte".So in the module under "how to match user t branch" I choose "Role Name:Then I add a new role "projekte":Which boxes do I need to check there?Then I add this role to the user "test:What do I have to set in the template options?Are there other permissions the user should get in oder to get this module to work?Whatever I tried - the result is: The users have same permissions to all the first level pages in the tree.Would be great if you can give me some help ...! -
I believe it only can used with field=value, not with path or parent.
So, one may define and add a hidden field to that template and hook into page::saveready and populate this field with a true or false value regarding if the current page has that parent or not.
my_hidden_field=1
If you want to go that road we can show some examples how to achieve that.
Hello - I am new to ProcessWire and would like to go that way !
Defining the hidden field is no problem.
But where to hook into page::saveready ?
Example would be very appreciated!
Inputfield Dependencies: Hide field by path
in API & Templates
Posted
Sorry for late resonse!!
And thanks for the link - I will give it a try!