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
Hi DonM, I guess there isn't an option for the color module to behave in another way, but there are workarounds: Don't use the color module, maybe even disable it, and use only...
Color module aggressive search and replace custom css color values
Thanks. I think, for me, the user-interface issue is that one uses (can only use) the "big" configure to add a first condition. And that made me think that I should use that same method to add...
Blocks (custom) not displaying in Harris sidebars with visibility condition set to more than one url path (node)
Just wanted to add-- anyone trying to set these permissions while running from Synology web station (DSM 7x) like I am, the apache user is apparently "http". So use: chown -R http....
can't install modules: "Error installing Devel. Permissions are not set up properly."