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.
Hi,
I made some modifications to give ability to this module to show signup report for a campaign to anonymous users:
To enable it edit file activism.module:
Add before line:
'administer activism',
line:
'view activism campaign report',
Add before line:
if ($op == 'view') {
lines:
if (user_access('view activism campaign report', $account) && $op == 'activism tab access') {
return TRUE;
};
Now you can enable viewing of campaign report in Permissions page.
Comments
Comment #1
hlan CreditAttribution: hlan commentedThanks for this hacking codes. But now anonymous can even see the call to action tab and change anything in there. Is there any way to fix it?
Regards
Hlan
Comment #2
janeks CreditAttribution: janeks commentedYep - that's was my fault.
Here is the fix:
Edit last line in:
to
and in previous fix created line:
change to: