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.
When logged in as User 1 on the site I have to have one of the roles that are allowed to see the debug blocks. We should make User 1 the exception (this is usually the standard). I would hate to go and create a role that is only used for allowing User 1 to see the debug blocks.
Comment | File | Size | Author |
---|---|---|---|
#5 | omega-debug-user-1-1408516-2.patch | 892 bytes | Cellar Door |
#3 | omega-debug-user-1-1408516-2.patch | 891 bytes | Cellar Door |
#1 | omega-debug-user-1-1408516-2.patch | 898 bytes | Cellar Door |
Comments
Comment #1
Cellar Door CreditAttribution: Cellar Door commentedPatched the Alpha template.php to look for the uid as well as the role of the user.
Comment #2
fubhy CreditAttribution: fubhy commentedPlease use $GLOBALS['user']->uid instead. Other than that it looks fine to me.
Comment #3
Cellar Door CreditAttribution: Cellar Door commentedFixed w/ the new patch
Comment #4
Cellar Door CreditAttribution: Cellar Door commentedComment #5
Cellar Door CreditAttribution: Cellar Door commentedNow with the right fix :)
Comment #6
Cellar Door CreditAttribution: Cellar Door commentedSimple fix
Comment #7
himerus CreditAttribution: himerus commentedpatch failed to apply cleanly, but the one-liner was easy enough just to paste in.
Added to 3.1 release.