Site title display course title in the courses
In the top header $PAGE->heading is displayed instead $CFG->fullname
Comments (4)
-
reporter -
Hi, I am not sure what you mean?
There is an admin setting under bcu>header to "Show / Hide site title", that was added so that where a logo is used the site title can be hidden.
That calls a function which can be found on line 339 of bcu/lib.php
The course name does display in the course and the user name does display when you view profile. These appear in the header where site title would normally appear.
What is it you are trying to do? 1. Move site title into the course? 2. show site title > coursename or site title > username in the header as opposed to it not being shown anywhere?
-
reporter Actually this is not correct. The site title must be displayed always in the header, like the logo.
I think the problem is: https://bitbucket.org/covuni/moodle-theme_bcu/src/e7d108ff322e8a28efe66fd91381c4972b23a773/layout/includes/header.php?at=master&fileviewer=file-view-default#header.php-223
It should display $SITE->fullname instead $PAGE->heading to avoid confussion and to keep the site name always in header.
-
reporter - changed status to resolved
Fixed in
#145 - Log in to comment
Jeremy, I think you know better the header file to modify the title.
Actually display the course name in a course or the user name in the profile.