Changing the Moodle logo

Changing the Moodle logo

by Adam Lamb -
Number of replies: 3
I would like to change the small Moodle logo that appears on the bottom of the main homepage. I have found the physical image in the "pix" directory (moodlelogo.gif) and replaced it. However, the new image isn't the same dimensions as the orignal, so it appears distorted. What I need to know is where this image is referenced in the HTML, PHP, etc so I can update the dimensions in the code.

Any help would be appreciated.

Cheers,
Adam
Average of ratings: -
In reply to Adam Lamb

Re: Changing the Moodle logo

by Urs Hunkler -
Picture of Core developers

Adam,

the code for this Moodle logo is placed in the file footer.html with this line:

<?php echo $homelink ?>

You do not need to patch Moodle, just replace this line with your own code.

I hope this helps
Urs

In reply to Urs Hunkler

Re: Changing the Moodle logo

by Éric Goupil -
I will like to understand where the variable $homelink is affected (receive is value, wich is 'www.moodle.org; moodlelogo, etc.'. Then I suppose that I will be able to modify the values of $homelink.

Thanks for helping

Éric
In reply to Éric Goupil

Re: Changing the Moodle logo

by Fred Frazelle -
I would like to understand where the variable
$homelink is affected (receives its value, which is 'www.moodle.org; moodlelogo, etc.'.

Then I suppose that I will be able to modify the values of
$homelink.

Since i have the same problem as above, i just "adapted" the most recent post (31 Mar. 06). Hopefully by now someone can point us in the right direction...

Thanks for helping and have a great morning! smile