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>.
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
Post a Comment