Orchardcore: Content Tree feature: Design

Created on 8 Jun 2018  路  6Comments  路  Source: OrchardCMS/OrchardCore

Please @sebastienros, explain us what are the requirements to implement the Content Tree feature.

All 6 comments

Can you find the video Bertrand did at a meeting which should be in YouTube?

The idea is that when you click on Content Items, a page appears on the right of the current menu, which shows a tree view structure of ways to navigate content items. So you will see content types, taxonomy terms, shortcuts, queries, ... And clicking opens the list on the right. The main point is that the menu is extensible by any module. We could also see how to do it in Vuejs as it could mean we'd have filters that can be dynamic and richer.

My repo is here: https://bitbucket.org/bleroy/nwazet.tree/src/default/

Steal what you want. Happy to describe it and answer questions, but it should be pretty straightforward. Basically, you have providers that can feed items into the system, hierarchically. Works quite well.

I think one of the ways to navigate to content items that would be useful is a "menu based" one.

For example:

  1. The user select one menu content item from a listbox at the top of the left side bar. Normally the main menu.
  2. The selected menu is shown in the form of a tree on the left.
  3. The user can quickly go to any page-contentItem on the site, and start editing.
  4. Ideally a button on each of the "branches" of the tree will show a popup with the available creatable types, so that the user can , with a single action, create the content item and positioning it where he or she wants it to be.

Some others CMS are doing it like that. And I think it's a quite common use case anyways.

I was just reviewing OrchardCore as a potential candidate to replace Episerver.

A basic content treeview with editing on click is critical and one of the factors people are using these commercial CMS's. I don't think it would be difficult to compete, but with sites that have hundreds or thousands of pages, the current one I just reviewed would never work.

e.g. Solution Explorer on the left, content on the right. It's how all the content people I've met want to edit the site and it's a huge bonus if you can security trim the tree and only show the page types that are available from that node.

The current way seems like all the pages would get lost, there is no hierarchy by url (ala wordpress). There really is no clever re-engineering needed, what's worked for decades is still the preferred way. Url's are a hierarchy, not a random collection of pages. (imo)

Eagerly watching this issue to see how this will pan out as a remotely viable alternative.

@SchipperStash thanks for the feedback, we are indeed also working on a way to browse the content by reflecting the main menu in the content tree.

PR made in #2479

Was this page helpful?
0 / 5 - 0 ratings