Open coastgnu opened 6 years ago
Ok, so you want to be able to include, at the root of the tree, any page / namespace ?
Ok, so you want to be able to include, at the root of the tree, any page / namespace ?
From my understanding it doesnt have to be the root of the tree, but included and sorted as if it were under the same namespace. As the sorting criteria would require some configuration to cover many cases, a -prepend
and -append
option already might be great (-include
sounds more like -merge
to me).
I still have a hard time understanding what is needed, could you provide an example quickly ?
I'll try.
:root
├── :instructions
│ ├── scuba
│ └── wingcopter
└── :machines
├── spacearm
└── wingcopter
<catlist :root:instructions
> would create an insctructions
list with scuba + wingcopter as children.
OP wanted <catlist :root:instructions -include :machines:spacearm>
to create an instructions
list with scuba + wingcopter + spacearm as children.
I also have the usecase where I'd like to include a few (sometimes just one) items in a sidebar menu which are not in the given namespace.
An
-include
option would be fine.E. g. template:sprintdoc works like a charm with catlist for a dynamic Menu in the sidebar
As you can see at "https://demo.sprintdoc.de/sidebar" they have a menu structure which doesn't follow a given namespace:
T use catlist for such a case an option
-include:":patterns:help:anleitung"
would solve this.Your catlist also works like a charm with template:bootstrap3. The indexmenu plugin doesn't, it breaks
<datatable>
and others. So catlist is a good replacement for indexmenu in template:bootstrap.thank you for this plugin!
regards, thomas