Hiding Book title in each individual chapter

Hiding Book title in each individual chapter

by Hya Agrawal -
Number of replies: 2

Hi,

I am using Moodle 3.0 and currently working with moodle activity module - Book. I want to know if there is a way to hide the book title above each individual chapter.

As we had the option to hide the chapter title using custom title option in Book administration -> Edit settings. Do we have some option to hide the book title as well?

Average of ratings: -
In reply to Hya Agrawal

Re: Hiding Book title in each individual chapter

by Kim Salinas -
Picture of Testers

Hi Hya, I'm curious if you found a way to do this? To my knowledge it isn't readily possible (maybe playing with the code somewhere would do it) as it is connected to the Resource name on the main course page. mixed

In reply to Kim Salinas

Re: Hiding Book title in each individual chapter

by Hya Agrawal -

Hi Kim,

Yes, as you pointed out very correctly there isn't any way already that makes it readily possible. Although, a little change in the code can make it work.

Step 1: Navigate to Moodle\mod\book\view.php

Step 2: Find the following line and comment it out ::

           " echo $OUTPUT->heading(format_string($book->name)); "

Step 3: Save the file .

Step 4: You may now want to refresh and check your Book again !

Average of ratings: Useful (2)