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

input options - only get child items of parent #5

Open
FickleLife opened this issue Feb 28, 2012 · 3 comments
Open

input options - only get child items of parent #5

FickleLife opened this issue Feb 28, 2012 · 3 comments

Comments

@FickleLife
Copy link

I can't seem to find what input options there are for superBoxSelect in the documentation. I there a way where by you can only select resources under a certain parent?

Thanks for a great addon too.

@shaunmorrison
Copy link

Yes, I can't see this in the documentation either. Not familiar with ModX TV Input Options. Assume you have to enter '@select id =3' or something like that.

@shaunmorrison
Copy link

Figured it out: '@select id FROM modx_site_content WHERE parent=3' in the input options and then set output options to be 'delimiter', then add a comma – now it's ready to use with getResources.

@shaunmorrison
Copy link

Found an issue that it only pulls in immediate children of the specified ID. Sub-descendants aren't being used. May be something wrong with my '@select' though.

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