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

geek.geek’s picture

Hi,

Maybe you should just customize the "local tasks"? using a module, like this one: https://www.drupal.org/project/local_tasks_blocks