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
@onyx, you mentioned block_settings[body][value]. If your block has a body field: did you maybe switch the editor to source mode before saving the block? I'm asking because I recently...
update block doesn't work ( bug ? )
Hi Harold. Welcome to Backdrop. If you would like to start attending the meetings, which start at 19:00 UTC nearly every Thursday, I recommend finding out more at https://backdropcms.org/news/...
October 2, 2025 Weekly Meeting
I'm seeing same issue. Multiple browsers, computers. Using the inspect element I have seen that the payload passed to /system/ajax is the old block_settings[body][value], not the new value...
update block doesn't work ( bug ? )