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.
With initial commit for Drupal 7 the permission to allow PHP code for auto node title has been changed from "use PHP for title patterns" to "Use PHP for title patterns" (capital 'U'). At some places the user_access function call was not changed accordingly, preventing the use of PHP code for all users.
Comment | File | Size | Author |
---|---|---|---|
auto_nodetitle-issue.patch | 1.54 KB | MrBurns977 |
Comments
Comment #1
daviesap CreditAttribution: daviesap commentedHi
Any update on this?
I can't get PHP working with D7
Comment #2
rickvug CreditAttribution: rickvug commentedRelated to this, should this permission even be available if PHP input filter is turned off? My understanding is that PHP module was supposed to be a global kill switch.
Comment #3
fagoindeed, however usually permissions are lower-case in code, so I've fixed it by re-naming the permission back to the old name.
ad #2: maybe, but that's another issue.
Comment #5
aaronpinero CreditAttribution: aaronpinero commentedI am having this issue with the 7.x-1.0 version of this module. Actually, I cannot seem to assign the permission to a user who can use the php input mode, but I *can* assign it to a user who *cannot* use the php input mode. It really should be the other way around.
Comment #7
anmolgoyal74 CreditAttribution: anmolgoyal74 at OpenSense Labs for DrupalFit commentedThe current version have small 'u' at every place. And everything is working as per permissions set in d7.
Try to clear the cache if still not working.
Comment #8
gaurav.kapoor CreditAttribution: gaurav.kapoor commented