Closed (fixed)
Project:
Book Manager
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 Feb 2009 at 19:10 UTC
Updated:
28 Feb 2010 at 22:00 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | book_manager-384862.1.patch | 2.31 KB | evoltech |
| #2 | book_manager-384862.2.patch | 2.32 KB | evoltech |
| book_title_access.patch | 747 bytes | kleinmp |
Comments
Comment #1
evoltech commentedConfirmed 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.
Comment #2
evoltech commentedI 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'.
Comment #3
marcp commentedThis feature is going to make it into the soon-to-be 6.x-2.x branch of Book Manager.
Comment #4
marcp commentedFixed in the 2.x branch.