Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
book.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 14:30 UTC
Updated:
17 Oct 2013 at 14:48 UTC
Jump to comment: Most recent file
Comments
Comment #2
wjaspers commentedLine endings, .... AGAIN. ARGHHHH.
Comment #4
wjaspers commentedThird time's a charm?
Comment #5
wjaspers commentedHuh, I put "FALSE" instead of node_type_get_types().
Here's a patch with the correction.
Comment #6
wjaspers commentedThis is the last one, I swear. This patch checks the outline tab, too, as I had missed it in the previous patch.
Comment #7
wjaspers commentedOops, this is a duplicate issue.
See: http://drupal.org/node/502430
Leaving this issue open to let core maintainers decide how to proceed.
Comment #8
carole commentedsubscribe
Comment #9
Renee S commentedI vastly prefer this approach to fixing the bug. Simple, and makes the module behave as described (needs a few modifications for D6 - node_get_types() instead of node_type_get_types() and the form function is named slightly differently, but if mods decide to go ahead with this version I'll submit a patch.)
Comment #10
justmagicmaria commentedI also vastly prefer this approach. Can we get this committed?
Comment #11
wjaspers commentedJust cleaning up my issue queue.
Since this issue is a bit dated, it's probably best to retest the most recent patch.
Comment #12
wjaspers commented#6: book-7.x-dev-1196576-6-check-allowed-content-types.patch queued for re-testing.
Comment #13
jvieille commentedthis is an original Drupal issue.
The fix for D6:
Comment #14
dagomar commentedI'm gonna go ahead and close this issue. It is in essence the same as #502430: Allow the book outline functionality on non-book-enabled node types to be hidden from users with the "Administer book outlines" permission, however there the proposed solution is an extra setting in the Book settings. I've added/updated a patch there that does just that.