I'm finding the 'add book page' link on my admin screen instead of in the book outline screen. The code has a bug here:
// add a tab to the outline editor to ease slide addition
$items[] = array(
'path' => 'admin/node/book/add',
'title' => t('add book page'),
'access' => user_access('create book pages'),
'type' => MENU_LOCAL_TASK,
'callback' => 's5_book_page_add',
'weight' => 200
);
I think the path should be 'admin/content/book/add' but I'm not entirely sure. Wherever it goes, I'm pretty sure it doesn't belong on the admin page.
Comments
Comment #1
gregglesYes, that is interesting.
From the README.txt:
So, it is on purpose to put it in the admin page. I think that the menu structure change from 4.7 to 5.x this path was not changed which puts it in the wrong place.
I've committed what I believe is the appropriate fix for this. I also changed it from "add book page" to "Add book page" to better fit with capitalization in Drupal5.
Thanks for pointing this out!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.