How to restrict access to dashboard
PermalinkI've seen alot of talk about the white labeling options available in 5.5, but I missing the documentation that explains it.
Thanks in advance for any help. I'm sure these are problems easily solved by someone with programming skills, but for someone like me it's not so straightforward. But I've always been so thankful for the talented c5 community's ability to help out and explain.
Thanks again for your help
/dashboard/system/
<?php if ($dh->canRead()) { ?>
<?php if ($c->isMasterCollection()) { ?>
menuHTML += '<li><a id="ccm-nav-dashboard" class="return-to-pagetypes" href="<?php echo View::url('/dashboard/pages/types')?>"><?php echo t('Back to Page Types')?></a></li>';
<?php } else { ?>
menuHTML += '<li><a id="ccm-nav-dashboard" href="<?php echo View::url('/dashboard')?>"><?php echo t('Dashboard')?></a></li>';
<?php } ?>
<?php } ?>
Keep in mind, I don't know any programming, so please don't laugh too hard if what I did was ridiculous. Anyway, it did not remove the "Dashboard" from the edit bar. It didnt' have any affect that I noticed.
Any suggestions? Thanks for your help.
Sitemap---Show System Pages---Dashboard---Permissions---Uncheck all "Read" permissions.
Problem solved!!!
Sorry for making it seem more complicated than it was. I think this is what you guys were both hinting at, but it took me a while to put it together. Again, your help is much appreciated.
http://www.concrete5.org/documentation/how-tos/developers/white-lab...