Custom book content types?

iva2k - February 28, 2009 - 04:31
Project:Outline
Version:6.x-0.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Can outline module implement custom book content types? It does make a lot of sense to have it, given the scope and functionality of the module.

Admin should be able to create a new custom content type, click checkbox "use outline" and voila - it behaves like a book (shows pagers and outline where appropriate). The main difference is that for each "outlineable" content type admin can set its own child type and other default values. Now I have to use a workflow in which I have to allow all types for the "book" content type, and when user creates a new book, he/she sets specific default type. It is hard to delegate this function to technically challenged editors.

#1

beginner - February 28, 2009 - 05:31

I'm quite sure I don't understand what you mean.
At this stage, I am not opposed to any feature as long as it's within the general scope of the module, which this might well be.

As to the timing of implementation, when I have time to devote to this module, I'll be fixing bugs and implementing a few critical features before working on the rest. However, I'll do my best to give a thorough review of any patch submitted, and I'll commit them as soon as ready.

#2

Minqensan - March 24, 2009 - 03:32

I need this feature too.

I think this is simply a way to achieving this:
http://drupal.org/node/102446

Without going through the bulky renaming.

I'll give a usecase if needed.

#3

iva2k - April 12, 2009 - 15:01

Here's my simplified use case:

  • create 2 or more different content types (e.g. with CCK fields)
  • set permissions such that one role can create/edit first content type, another role - 2nd content type, etc.

Now I need additional functionality which will allow:

  • create 2 or more book types, where:
    • each book type is limited to only the corresponding content type and does not allow any other content type
    • permissions can be set such that one role can create/edit book type 1, another role - book type 2, etc.

Minqensan's pointer gives a way to create a new module for each book type, and I may use it for one or two custom book types. But creating a new module with 99.99% of the same code for each new book type is plain silly. It should be a programmatic feature of core book module to make any number of book types. Since there is no real benefit without the outline module, core most likely will not budge. The next good place for such implementation is the outline module.

#4

fsg - November 2, 2009 - 23:50

or.....
How about adding the ability to edit the Content Type default settings to post to a specific book? Okay, it still would allow someone to change the default, but most users don't even expand the Book Outline dialog.

That's what I'd like to do. I could not find anything like that in the forums.

Tom

 
 

Drupal is a registered trademark of Dries Buytaert.