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.
if you have books enabled
it will display
books at mypage
book1Arraybook2Array ...
i have sloved
with in line 268 269 at site_map.module
268 $output1 = ($data['below']) ? _site_map_menu_tree_output($data['below']) : '';
269 $output .= render($output1);
maybe not the best soulution but it works
greetings
Comment | File | Size | Author |
---|---|---|---|
#1 | site_map_book_bugfixes.patch | 9.14 KB | frjo |
Comments
Comment #1
frjo CreditAttribution: frjo commentedThanks for reporting the broken support for books in Site map.
I have committed the attached patch to 7-dev and I believe that fixes this bug. I also re added the option to "Show books expanded".
The 7-dev tarball will take some hours before it's rebuilt.
Please test and report back here.
Comment #2
Kisugi Ai CreditAttribution: Kisugi Ai commentedwith devel but its more a Drupal issue
Strict warning: Only variables should be passed by reference in _site_map_books() (line 317 of /sites/all/modules/site_map/site_map.module).
Comment #3
frjo CreditAttribution: frjo commentedThanks for the followup. Is the patch working ok otherwise?
Committed the following to 7-dev that should take care of the warning.
Comment #4
Kisugi Ai CreditAttribution: Kisugi Ai commentedyepp the other works at the moment fine.
works under Dru8 to
Comment #5
frjo CreditAttribution: frjo commentedThanks reporting and testing this!