15
Sep
3
Hide pages in Sitetree that a user can't edit
Very short snippet here - sometimes you want to hide pages in the Sitetree that members logged into the CMS don't have permission to edit. This is really simple in because they already have a css style applied to them you can just hide that class. You need to include this snippet in your typography.css file so that it is included in the CMS.
note. this will also hide child pages even if they are accessible.
About the Author
Comments (3)
-
I just did a job that required this behavior and came up with a much cleaner solution that doesn't mod the core. I'll post it when I get a chance!
Posted by Unclecheese, 19/11/2009 8:32am (8 months ago)
-
I don't really like this snippet.
Posted by Nathan Blane, 23/10/2009 1:44am (9 months ago)
-
Thanks a lot!
I was looking some solution for one of my project , and I even expect, that could be so easy :)Posted by le_banana, 17/10/2009 1:57pm (9 months ago)
RSS feed for comments on this page RSS feed for all comments