Last night I posted a new thread to a group forum at http://groups.drupal.org/node/50423. Details can be found there, but what I'm basically looking for is the ability to provide controls (radio buttons, etc) that allow a user to update a Drupal URL from within a View Page.
For example, I have a page at http://igo.tamatoledo.org/map_caches_by_grid/65/67 that shows me a nice snippet of data from a single grid square. What I would love to see above my data (it's a Mapstraction view showing geocache locations in a map) is a pair of fieldsets labeled "Expand" and "Move". Each fieldset would contain a set of four radio buttons labeled North, East, South and West.
The idea is that clicking and submitting the Expand|North button, for example, would change my current URL from http://igo.tamatoledo.org/map_caches_by_grid/65/67 to http://igo.tamatoledo.org/map_caches_by_grid/65/67+68. Have a look at the two addresses and you can see the difference I'm looking for.
Question is... How do I (or can I) add controls like this to a View page and where (what hook) could I put some code to respond to the selection and alter the subsequent URL in this manner?
Comments
_
I guess you could add some code to the view header, containing a form as you describe.
The code would extract the current grid settings from the URL and, on submission, would create a new URL from the form data then execute a drupal_goto() to the revised URL.
Pete.