1. Navigate to your
mytheme
directory, right-click on thefooter.html
file, and choose Open With | WordPad (or an editor of your choice), as seen below:2. Find the following two lines of code:
echo $loggedinas; echo $homelink;
3. Comment out the first line by using a PHP comment as shown below:
/* echo $loggedinas; */ echo $homelink;
4. Save the
footer.html
file and refresh your browser window. You will see the footer without the Moodle logo or the login info link, as seen in the next screenshot:
In this task, you learned about those parts of the PHP code in the footer.html
that control whether the Moodle login info text appears in the Moodle footer, similar to the Moodle logo in the previous exercise. You also learned how to comment out the code that controls the rendering of the login info text so that it does not appear.