1. Navigate to your
mytheme
directory, right-click on thefooter.html
file, and choose Open With | WordPad, as seen below:2. Find the following two lines of code:
echo $loggedinas; echo $homelink;
3. Comment out the second line using a PHP comment:
echo $loggedinas; /*echo $homelink; */
4. Save the
footer.html
file and refresh your browser window. You should now see the footer without the Moodle logo, like in the following screenshot:
In this exercise, you learned which parts of the PHP code in the footer.html
file control where the Moodle logo appears in the Moodle footer. You also learned how to comment out the PHP code that controls the rendering of the Moodle logo so that it does not appear. You could try to put the Moodle logo back if you want.