Description of the need
To create a books child content, the parent books mlid (menu link ID) is required.
With help of this ID it's possible to create a link, which let's make a new book child using the Prepopulate module and the mlid value.
The created link has to look like /node/add/book?parent=[!mlid].
Proposed solution
Add a views entry to file: book.views.inc
section:
// menu_links table ...
...
$data['book_menu_links']['mlid'] = array(
'title' => t('mlid'),
'help' => t('The mlid of the book page.'),
'field' => array(
'handler' => 'views_handler_field_numeric',
'click sortable' => TRUE,
),
'sort' => array(
'handler' => 'views_handler_sort',
),
);
Alternatives that have been considered
none
Additional information
It's working on manually patched versions.
Draft of feature description for Press Release (1 paragraph at most)
Backdrop now includes providing books menu link IDs to be used on Views.
Recent comments
I created Paragraphs Aplenty (partly a port of a Drupal module) which provides a bunch of useful paragraph types. Feel free to use or be inspired for your own. The one thing I provides...
Your most useful type fields for Paragraphs
I use Paragraphs a lot too. A module I created quite recently and have just expanded the capabilities is Heading Style Field. You can select the style of the heading from No heading and No style...
Your most useful type fields for Paragraphs
Paragraphs are awesome. I always use them, when editors should be able to create appealing (landing) pages without ever messing with markup. Editors usually love that workflow. They...
Your most useful type fields for Paragraphs