4 votes

Epiphany Custom Content Tree

This project allows you to set up custom content trees for the users of the back office. Out of the box, you can only set up a user to have one starting node. What if you want to allow users access to several sections of the site, or a section and a settings node?

We've created this simple package that allows you to do just that. The package installs a DLL and a config file, that you can edit to create custom content trees for your users. This works by overriding the existing content tree, rather than requiring you to create new sections for the back ofice.

The trees should respect all of the usual permissions etc that the standard tree does, and there's a config option that allows you to make it play nicely with the AttackMonkey CustomMenus package, if you're using that as well (it does this using reflection, so there's no hard coded dependencies, just set the flag to false and ignore it if you don't use that package).

The config file consists of the following elements:

 

useCustomMenus - this is set to false by default. If you have AttackMonkey CustomMenus installed and are using it, set this to true. WARNING: setting this to true without CustomMenus installed will cause the package to fail.

rules - these are the trees that you can set up, you can set up as many trees as you need, and you can alow multiple users to use the same trees if you wish, the format of the items underneath are: tree, which has the property "userIds" which can either be a single back office user ID, or a comma separated list of the IDs, underneath each tree you can add one or more "node" elements which have two properties "id" which is the id of the node to add to the tree and "hideForDialog" which can be set to true or false, setting this to true means that the node won't appear in node picker controls, so for example you could have a settings node that appears in the content tree but can't be selected using the link picker.

The config file has an example tree configured, you will need to replace this with your own tree definitions.

This is currently an early version, we've got it running on one live site at the moment, so please test thoroughly before using on your own sites. Please leave any feedback on the forums provided, we'd love to hear what people think of the package!

 

 

Screenshots

Archived files

Source code

Package owner

Tim

Tim

Tim has 2638 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.1.x (untested)
8.0.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Tim
  • Contributors: Drew , Ryan Lewis
  • Created: 02/08/2012
  • Current version 1.0
  • License MIT
  • Downloads: 1460

External resources