hello
i have been thinking of how to do this for a long time; cant find any module which specifically does this.
i have a list of people who have signed up to an event using the signup module. to mark them attended, you can use views bulk operations, check the persons you wish to mark attended, then select the 'mark signup attended' action in the VBO dropdown, then click submit.
but that seems superfluous for a site where there is no other action available ('mark signup attended' is the only operation to perform, so why go through all that, i thought).
so i would like to be able to have a views field as a link ('mark attended') which when clicked simply runs the 'mark signup attended' action on that user/row. then i thought why refresh the page? why not do this via ajax?
then i got stuck. cant figure out how to get an ajax link in views which triggers an action in the backend.
anyone have an idea what i'm talking about? can anyone point me there?
By docwilmot on
Comments
A suggestion
Hi,
I would refer to the "Examples for Developers" located here: https://drupal.org/project/examples
Note! I would review the ajax and js examples.
Hope that helps.
doesnt help much, sorry. the
doesnt help much, sorry. the ajax/ahah examples apply to forms. a text link in a views-generated table isnt a form. i have no idea how i could use those ajax concepts in that context.
keep in mind, i was asking how i could have a link, in a view, which when clicked triggers a (signup) action via ajax.
-------------------------------------------------
Always be nice to people on the way up; because you'll meet the same people on the way down.
Wilson Mizner (1876 - 1933)