Hi,
I am dealing with the following problem:
A user creates a resource from the backend via rightclicking on a parent.
The page reloads and everything is fine.
But now there is no information about my "position" in the resource-tree.
What I would like to have:
a) to highlight all parent resources (for example a green background) in the tree
OR
b) showing a breadcrumb in the docform. (somewhere above the pagetitle f.e.)
I would prefer version a).
I tried to hack the tree with a plugin and some js but there is barely no information which parent I#m working on. Also after switching the templte I lose my information about the parent...
Does anyone have an idea how to accomplish this?
I think that would be nice to have anyway.
thanks,
janein
Modifying the tree is not easy, but in a plugin that fires when the doc is saved, the parent's ID should be available with:
$resource->get('parent');
That would be a great feature request to submit at
http://bugs.modx.com.