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.
The Page Title tab that appears in the edit content type screen (as opposed to the node edit screen) only displays for user 1. I gave another role permission to "Administer Page Title", but the tab does not appear on admin/structure/types/manage/[node-type] like it does for user 1. I want another role, superadmin, to be able to create content types and set this setting.
Comment | File | Size | Author |
---|---|---|---|
#2 | correct_user_access-1684840-1.patch | 621 bytes | joelrotelli |
Comments
Comment #1
egifford CreditAttribution: egifford commentedI'm encountering this as well. It looks like there is a typo in the function page_title_form_node_type_form_alter.
This function uses the permission administer page title but I think it should use administer page titles as does the rest of the module's code.
Notice the letter s at the end of the second permission string.
Changing the following line:
to the following worked for me:
I think an argument could be made for using define() to set these permission strings up as defined constants.
I don't know how to roll a patch... :(
Comment #2
joelrotelli CreditAttribution: joelrotelli commentedI made this patch for you , for the #1day1patch initiative :)
Comment #3
egifford CreditAttribution: egifford commentedThanks, Joel! I like the idea of the 1day1patch initiative!
Comment #4
balintk CreditAttribution: balintk commentedPatch works fine.
Comment #5
balintk CreditAttribution: balintk commented