Repositioning toc in book for moodle 2.0

Repositioning toc in book for moodle 2.0

by kev walls -
Number of replies: 1

Hello there. We have been using book extensively for our courses, and I remodelled it so our toc was below the chapters/pages, along with a few more minor changes, see below:

I know very little .php and within book for moodle 2.0, I can't find the code to move/resize/tinker with the table of contents. Is it still possible to do within the code for 'book'? We have very limited access at a higher level.

Average of ratings: -
In reply to kev walls

Re: Repositioning toc in book for moodle 2.0

by kev walls -

I found out how to do this, I added this coded to line 191 in view.php

echo $OUTPUT->box_start('generalbox book_content');

echo format_text( $toc = book_get_toc($chapters, $chapter, $book, $cm, $edit, 0));

echo $OUTPUT->box_end();

as well as a couple of other purely cosmetic tinkerings.