-
- 90 Posts
I am using Resource List TVs to generate all my resources as a drop down box in Manager.
I have used Resource List as input type under input option tab.
Right now i want to order all resources as page title.
Used [{"orderby:=":"pagetitle"}] in where condition.
But getting black drop down.
Arkalp.com
That's a filter, not a property. It only works for specifying field values.
As far as I know, it orders by pagetitle by default.
-
- 24,544 Posts
No, the default sort is by menuindex, but Susan is right that the 'where' field is to select resources, not sort them. You could set the menuindex for each page to get the order you want. (Note that dragging a resource in the tree will rewrite all the menuindex values).
If that's not practical, you won't be able to use a Resource List TV to do what you want. You might be able to do it with an @SELECT TV.
-
- 90 Posts
You mean to say switch the template variable with single select drop down box and there put @SELECT query as input option.
Am i right?
Arkalp.com
-
- 30 Posts
Yes @vinod - This is also one alternative for this solution.