My desire is to have a table view containing a bunch of nodes for a user to use to find the product they wish. I would like some sort of 'X' beside each node's title that a user could click on to remove that item (node) from the View. I suppose this is some sort of jQuery thing....
It's practical use is for a user to be presented with a list (View table) full of products that the columns show the specs of that product. If a user wishes to exclude that item from the view (in their quest to narrow down the number of items that View table is showing) so they can make a buying decision, they could click on this 'X' to remove that item from the table. This could swiftly allow the user to narrow down the right product for them.
Here is where I am trying to implement it:
http://hangon.ca/gliders
If a user is too big for a glider (by looking at the weight range of the glider) they could remove that model of glider from the view by clicking on the 'x' beside that glider model ('x' not shown)
Comments
Comment #1
dawehnerMy oppinioin:
Thats not something which views core should have. You can sure write a custom module, which adds a field to a view, which allows to remove items on the fly. Therefore you need some php and js knowledge, but its very easy todo.
Comment #2
merlinofchaos commentedSee Views Bulk Operations module.
Comment #3
mdowsett commentedVBO didn't help at all. I don't want the user to bulk delete or unpublish a node...I just want them to temporarily hide it from showing in the view. And a simple filter wouldn't work as I want the reason for them to choose to hide it to be arbitrary.
And I wasn't expecting this feature to be added to Views core....I just don't know where eles to add it as a feature request...I suppose I'll try changing it to VBO and see if I get any takers.
Comment #4
infojunkieAs dereine said, this is easily implementable using a jQuery script and a PHP line in in the view header to insert that script. Obviously, VBO is not useful to you. Since it should be a half-day job, maybe you can find someone to implement it cheaply at http://drupal.org/paid-services. Sorry I can't be of more help.