Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hello, my group has been testing a new access module, and in doing so needs to have many different browser windows open to see what effect certain scenarios have on the different roles within the system. Occassionally, one browser/user will "take" the session of the other window. So, if I'm logged in as Bob and Phil, the Phil window at some point may become Bob, resulting in two Bob windows (but one session, I suspect--haven't confirmed). All users, including myself have seen this, but we've been testing for weeks, so this isn't completely common.
I'm adding a cloning function to the panels module and (correct me if I'm wrong) I think this line : return 'admin/panels'; is instrumental in returning the user to the www.example.com/admin/panels page. I've added the line into my function and instead of returning me to the admin/panels page, it prints 'admin/panels' to the screen. I'm wondering what I'm missing. Any help would be greatly appreciated.
In my module's form_submit function I call drupal_execute to process the form of another module. Depending on whether there was a validation error from drupal_execute, I would like to redirect to a different page.
I've tried to dump what drupal_executes returns, but nothing gets dumped.
Is there a way read/determine the output of drupal_exectue?
Greetings, everyone. I'm currently helping out with the administration of two different popular Drupal installations, and they handle spammers the same way--by approving or not approving their accounts when they register (the idea being that spammers are easy to spot). Typically, we're dealing with at least 1-3 of these per day, which can add up pretty quickly.