November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
The best way is to make your own plugin that only show editeble pages in area PlugInArea.EditTree.
Take a look through refelctor on the existing page tree control and just modify it to remove pages that you cant edit.
Or perhaps add editable pages to the favorite tab? I have heard this wish from several customers but with a large tree structure (and often with many levels of children) the usability aspect of filtering is complicated.
Hook FinishedLoadingChildren event in DataFactory, check if request url is edittree.aspx and limit the Children list there.
I think :-) I've heard this is the way, but never really tested it.
/Steve
Context: EPiServer CMS R2 and above...
Hi.
We have a customer that wants to filter the edit mode page tree to only (with some minor additions) display pages that the editor har permission to change/create.
With a page provider we can do this. We can filter out any pages that the editor only has permission to read. BUT... Since there are no way of detecting whether the pages served are to be used in the page tree or in page rendering, this also affects the final pages served to the user/editor.
The only other way is to hook into the events of the edit mode page tree code, filtering the pages before adding thenm to the page tree.
I have searched for these events but failed to find any. Where can I find documentation on this? What are the names of the events (so that I may search and actually find them)?
Anybody have code examples? Hints/suggestions? ...A solution to the problem?