Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I'd like to skip the "Are you sure" confirmation screens when joining and leaving open groups. Where is the best place to start? I'm creating the "join" links in a custom block; is there a way to modify that link and jump right to reloading the page as a group member or is this going to require a custom module?
echo l(t('Preview Instantly'), "og/subscribe/$node->nid", array('query' => "og/$node->nid"));
Thanks for any insight,
Dave
Comments
Comment #1
monti CreditAttribution: monti commentedHi dvancamp -
I would like to implement the same thing. Having the JOIN/LEAVE link emphasized (using a button) on a separate block as well as skip the "Are you sure" step. I'd be grateful, if you could share your solution for this.
Cheers !
Comment #2
gorgo CreditAttribution: gorgo commentedi would like to do that too...
can anyone please explain how to do it?
Comment #3
Kiran_negi CreditAttribution: Kiran_negi commentedI am also interested in finding a solution for this. Does anybody know how to achieve this?
Comment #4
jinky32 CreditAttribution: jinky32 commented+1
no-one's answered on my other thread so trying here. Any ideas?
Comment #5
Grayside CreditAttribution: Grayside commentedI threw down a couple thoughts on the idea in #1180070-1: Do not require confirmation
Comment #6
Alcaparra CreditAttribution: Alcaparra commented+1
Comment #7
markusd1984 CreditAttribution: markusd1984 commentedDid anybody find a solution and got to implement this??
It seems quite a desirable modification, especially for internal platforms, where unessary / additional steps create a worse user experience.
Somebody mentioned that this step is to prevent CSRF attacks?