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
Ah, got it. You are right, this is a bug. I just opened a bug report: https://github.com/backdrop/backdrop-issues/issues/7238 Hopefully, this will be addressed soon. Thanks for...
Files uploaded using add file
I think, you are misunderstanding what i said. 1.admin/structure/file-types/settings = field/uploaded (or anything else) 2.admin/content/files (Manage Files), (the +Add files) link,...
Files uploaded using add file
The setting on admin/structure/file-types/settings is only for files uploaded via Content > Manage files. Not for files uploaded via a file field. File fields have their own setting for...
Files uploaded using add file