Is there a possibility to show only the current node when using the print function in the Book-Module? Now its showing the current page and if available all the descendants. I allready had a look in print.pages.inc and found the function _print_generate_book which seems to me responsible for the output. But I am still a php novice and I have no clue what to change. I would be very thankful if there is anybody out there who can help me. Best regards

Comments

jcnventura’s picture

Status: Active » Postponed

Hi.

This is actually on purpose, but it might be useful to make it configurable to choose between the node or the book structure.

I will take a look at this in the future.

João

brenes’s picture

Sorry for my late reply and thank you for your answer. Yes this function would be very useful. A dialog in the adminstrative Panel of your print module where you can choose to print out only the actual Page or the actual page and its descendants would be neat. Or maybe that you can choose in the node edit modus how the print page should appear. As this function is actually pretty much needed for me cant you or anybody else tell me - only if its not to much of a hassle - how to hard code the possibility to show only the current node in Book module?

Best regards

Ben

jcnventura’s picture

Version: 5.x-3.7 » 5.x-4.x-dev
Status: Postponed » Fixed

Hi,

I have just committed some code that adds a new setting to select if the link in book nodes points to the current page + sub-sections, or just the current page.

João

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.