I am looking for a way in which, along with the saved view name, I can also display
1. the count of items returned if the view is executed at that point of time
2. some attributes of the returned items (e.g. titles), if the view is executed at that point of time.
is this possible in the current setup ?
Comments
Comment #2
drunken monkeyNo, I don't think so, sorry. That would require some custom code (probably custom Views field handlers).
If you want we can leave this open as a feature request, but I don't think I'll have the time to implement this any time soon. I'd be open for contributed patches, though.
Comment #3
alansaviolobo commentedFrom the little of the code that I saw, the strategy that intended to pursue was to pass custom get parameters into the view execute method and then use the results.
I don't see how a custom field handler would do the trick? appreciate your suggestions on the same.
Comment #4
drunken monkeyOh, yes, I meant if you want to show this information in a "Saved views" listing view. Then you would need special field handlers that compute and output this information.
But if you just need the information generally, not in the view itself, your approach seems sensible, yes. Get the view, set the GET parameters as the exposed input, execute it and then examine the view results.