Instead of only having this feature available to users that can administer books, we can let all users be allowed to change the titles on their own personal books.

Comments

evoltech’s picture

Confirmed this patch applies and achieves most of the desired effect. With this patch the theme_book_manager_outline_table is run on the resulting table, but somewhere along the way something changes so that the title edit fields are no longer visible. I am going to try and figure out what is preventing that.

evoltech’s picture

Status: Active » Needs review
StatusFileSize
new2.32 KB
new2.31 KB

I think a better way to go about this is to overwrite the access check for the admin/content/book/%node path. The patch below replaces this with the _book_manager_outline_access_menu_callback() method. The second patch below shows the section of code to comment out to allow for the titles to be edited, but I think there is a reason why the title fields were changed from 'textfield' to 'hidden'.

marcp’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Assigned: Unassigned » marcp

This feature is going to make it into the soon-to-be 6.x-2.x branch of Book Manager.

marcp’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Fixed

Fixed in the 2.x branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.