Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add support for tree hierarchy #40

Open
hwmaier opened this issue May 10, 2011 · 1 comment
Open

Feature Request: Add support for tree hierarchy #40

hwmaier opened this issue May 10, 2011 · 1 comment

Comments

@hwmaier
Copy link

hwmaier commented May 10, 2011

getResources processing yields a flat view of a resource tree.

There are application where a tree view would be beneficial and a tree view cannot be achieved by chaining getResources calls as parameters (eg filter parameters) cannot be passed down the chain. Other snippets which create a tree, like WayFinder on the other hand do not support filtering.

There is currently a work around using a snippet called getResourcesTree (refer to http://modxcms.com/forums/index.php/topic,43832.msg333619.html#msg333619) but it would be nice to have such a functionality integrated into getResources.

I am happy to provide a patch with that feature integrated using sortby='tree' as a way to configure this feature. I also would then add an additional template tplContainer so containers can be renderd differently.

@bobbwal
Copy link

bobbwal commented Dec 3, 2012

sortby='tree' would be a really useful feature.

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

No branches or pull requests

2 participants