Closed (fixed)
Project:
Book Manager
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2008 at 00:27 UTC
Updated:
17 Dec 2010 at 10:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jgraham commentedIf a user only has personal book permissions then they will not be presented with the "Make personal" checkbox and all books they create will be personal books.
Does this solve your issue or do you have users with both 'book' and 'book_manager' permissions?
Perhaps a config setting for this?
Comment #2
Aerodynamo commentedI've tried to arrange my permissions like this and feel I've tried everything I could possibly try with this and my Drupal 6 installation.
I would like it so users won't have to click "Make this a personal book" each time, because I guarantee people won't remember to do so. It seems like it only makes sense to enable this as a default option somewhere...
Am I doing something wrong?
Thanks in advance!
Comment #3
Arhimad commentedYou can take advantage of "jquery",
Create script.js file in the folder with your theme sites/all/themes /"your_theme"
with the content:
$(document).ready(function(){$("#edit-book-ispersonal").attr("checked", "checked");});all
Comment #4
marcp commentedAs jgraham mentioned above, in the current version of Book Manager, if a user has only has 'create personal books' permissions then they will not be presented with the "Make personal" checkbox and all books they create will be personal books.
So, this is only an issue for users with both 'create personal books' and 'create new books' rights. A config setting would be nice for that case.
Comment #5
gkelly commentedAgreed. That config setting would be a really nice addition. My site needs users to have both 'create personal books' and 'create new books' rights and it would be great to have the 'make personal' checkbox option checked by default. I'm going to give Arhimad's script a go, but that would be a handy addition for a future version.
Comment #6
njathan commentedThanks for reviving the thread Marc! Your comment #4 above was very helpful.. that perm setting isn't as obvious as it seems...
Comment #7
jgraham commentedAdded config option.
Comment #8
jgraham commentedhttp://drupal.org/cvs?commit=458776