Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By gdhp on
Using the books module I was hoping to have another menu to add a child page to a book, other than the immovable one that comes as default.
My plan was to use the Menu Tokens to achieve this.
However I can't figure out what the correct token would be.
The URL to add a child page to a page is:
node/add/chapter?parent=444 where 444 equals the unique id of that book page. However this is different to the Node ID.
Does anyone know how to reproduce this number for a page using tokens?
Comments
Hi,
Hi,
Maybe you should just customize the "local tasks"? using a module, like this one: https://www.drupal.org/project/local_tasks_blocks