By seddonym on
I'm trying to use some exposed filters to retrieve data programmatically, but have no idea whether it's possible.
Currently I have all the exposed filter fields working, displaying a result set underneath. What I want to do is then get hold of that result set to display a chart. I'm okay on displaying a chart but I don't know how to get the correct data to plug into that.
Either I could do this as a Header for the view, or if it's easier just a 'Generate Chart from results' that takes the user to a new page with the chart generated.
The exposed filters are using AJAX.
Any ideas?
Comments
not to hijack your thread,
not to hijack your thread, but I'd love to know how you displayed the filters ...
I just clicked Expose from
I just clicked Expose from within the Views 2 user interface - look under filters... is that what you meant?
(Still haven't resolved this issue - and am having a nightmare getting the exposed filters to work with a custom widget)
ug
No, I'm doing that, but I was wondering how you access them from your template.php if you want to override the page content. Anyway Sorry I can't help on your problem.
Views exposed filter result to new page or window
I know this is an old issue, but I'm trying to display the results of a Views exposed filter to either a different page or a different browser window/pop over, etc. Not really a programmer. Is there a module based solution or setting?
Thanks.
Here's the
Here's the solution:
http://drupal.org/node/357295 post #26/27
Programmatically feed values into your filters! This really saved my day. :D