I have set up all my BMS allowed parents and allowed children, and I've been entering some test content. Unfortunately, when adding child pages, they are not being added as children of the parent page.
For example:
- I create a page of content type "Location". It auto-creates a main book page.
- from the newly-created "Location" node, I use the BMS links to add a "Network" as a child
- on the node add form, there is no tab for book/BMS settings. But as long as it's added as a child, I don't really care if these show.
- once the "Network" node has been created, it is not a child of the "Location" node I just created
- if I edit the "Network" node, I now see the BMS tab, and I can add the node to a book.
Why are the add child links not working properly, and why does the BMS tab not show on the node add page? Are these related?
Further info - Authenticated users are granted all of:
Book
- Administer book outlines
- Create new books
- Add content and child pages to books
- View printer-friendly books
BookMadeSimple
- Show (checked) or hide (unchecked) core book reorder tab
- Show (checked) or hide (unchecked) core Outline tab
- Show (checked) or hide (unchecked) outline section in form elements.
I don't know what other permissions I could possibly grant to authenticated users to get this to work properly. It works fine for User ID 1.
Comments
Comment #1
MarcElbichon commentedFirst, when creating a new node, outline tab is not necessary because BMS auto add page as child. This feature has been added in dev version (see #993564: BookMadeSimple 7.x-3.x-dev)
Can you post me Content-type settings (BMS section) for Location and Network or can I have access to your site to reproduce and analyze the problem ?
Comment #2
canadrian commentedThanks for the reply. I'm unfortunately not able to grant you access to the site (it's company internal) but here are the BMS settings for those content types (the issue occurs when adding any child page regardless of content type, but these might serve as examples):
Location
- Select content-types allowed as child
-- Email information
-- Internal domain
-- Loaned Item
-- Network Information
-- Procedure
-- Software
-- (no others selected)
- Select content-types allowed as parent
-- (none selected)
- Other settings
-- Auto create book main page
-- (no others selected)
Network Information
- Select content-types allowed as child
-- Network Device
-- Network Diagram
-- Server
-- (no others selected)
- Select content-types allowed as parent
-- Location
-- (no others selected)
- Other settings
-- Forbid creation of book main page
-- Allow content type as child of default book.
-- (no others selected)
Please let me know if there's anything else I can provide. I really appreciate your help. Meanwhile I'l upgrade to the latest Dev just in case it helps.
Comment #3
canadrian commentedThe latest dev seems to fix it. I can see in the BMS tab that the correct book is selected when adding a child, and upon submission it adds correctly to the book. I guess that was it.
Comment #4
MarcElbichon commentedOK. So i close the issue
Comment #5
lukpe commentedAfter disabling outline tab, child pages created from within a given book (BMS link) are not being added to parent book. Only users with at least "Administer book outlines" [Book] and "Show (checked) or hide (unchecked) outline section in form elements." [BMS] permissions are able to create child paes (which not orphans). Not sure if this works as intended as I would like to hide outline tab in node creation form per user type. Tested on latest dev.
Comment #6
MarcElbichon commentedCan you try with lastest stable release (version 3.3) ?
Comment #7
MarcElbichon commentedCan comment line 299 in book_made_simple.module as this :
Comment #8
lukpe commentedWith 3.3 this problem occurs as well, moreover, I am even unable to access outline tab after setting permissions to do so for any role but site admin.
Comment #9
lukpe commentedYep, it works! Thank you very much sir.
EDIT: Tested on dev relase doe to issues mentioned in post #8
Comment #10
MarcElbichon commentedWill be ported to dev version
Comment #11
scottrigby