Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Add a configuration option to hide variations in the content tree. #6

Open
ondrejpialek opened this issue Sep 15, 2016 · 1 comment

Comments

@ondrejpialek
Copy link
Member

A new feature request from #5:

I suggest hiding the variantions folder. Variations node should be editable only from experiment page. It would make everything easier to understand.

@ondrejpialek
Copy link
Member Author

Long term the plan is to integrate with Umbraco 8 content variations & segmentation, which are a perfect fit for what we are doing.

Short term I believe it is important that the variations are visible by default, as they need to be published at this point, and are therefore publicly accessible by default.

That being said, I certainly agree that there are circumstances where being able to hide these would be useful.

I don't think we will put any development into this unless there is a big demand for this feature, especially with Umbraco 8 coming relatively soon. I will leave this card open for anyone if they want to contribute though.

There is an easy workaround for now, you can hook into the Umbraco TreeControllerBase.TreeNodesRendering event and remove the variations there. As a matter of fact, there is an unfinished and commented out attempt at this very thing inside the repo. I stopped working on this when I decided it's better to keep the variations visible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant