To block the VLE site name to appear on the header of the Foodle theme

Edit the file called header.html:


Find the line and remove the highlighted part of the code.


if ($home) { // This is what gets printed on the home page only
?>
<?php print_container_start(true, '', 'header-home'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>


And also:

<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<?php print_container_start(true, '', 'header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>

save the fine and you are done.





In moodle 2.0 themes: Find the following line in frontpage.php and general.php in layout folder. Remove the highlighted part from both the file.


<h1 class="headermain"><?php echo $heading?></h1>.


Comments

Popular posts from this blog

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.

Moodle OAuth 2. This account is pending email confirmation! Solved

[Solved][Proxmox update] Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 51.79.159.216 443]