Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
book.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 May 2012 at 17:08 UTC
Updated:
9 Sep 2019 at 08:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ntigh52 commentedComment #2
ntigh52 commentedComment #2.0
ntigh52 commented1
Comment #3
ntigh52 commentedSorry but I didnt solve this issue.
I need give permission Add content and child pages to books but not to all the book, just own books.
on the Book outline just own parent pages will be.
How can it done?
thanks a lot
Comment #4
wxman commentedI think I've tried all the different access modules, but none can solve this problem. I'm going to have to shut off the book creation on my site until this gets solved.
Comment #5
wxman commentedI did find a messy workaround by adding this to my node.tpl.php
This makes it so the add chapter/child page link only shows if the viewer is the owner of the node. I still have to figure out how to remove the 'add child page' link from my links.
Comment #6
wxman commentedI improved this just a little bit, but it's still messy. I added a DIV around the link.
I then got rid of the original add child page link using CSS:
I added my own CSS to really make it stand out:
I attached a picture of the finished product.
Comment #7
ntigh52 commented@wxman,
thanks,
i think that the good way for thaT is, to check the uid of the bppk parent node and to compare it to the user id ?
what do you think?
I wish there was support to the module.
Thanks a lot.
Comment #7.0
ntigh52 commented4
Comment #8
suriyan saychompoo commentedbook_Permission to add sub pages Module Should be able to help you
https://www.suriyan.name/Module/book_Permission_to%20add_sub_pages