I have searched and searched the forums and can't seem to find what I'm looking for so I'm hoping someone out there can give me a very simple answer.
I need to add a home link to our home page from our moodle classroom. I'll settle for the home page link to be anywhere on the top section of my classroom as in: below the logo or, below the language selector dropdown or, above the login line on the right.
Can anyone please tell me what file I need to edit to get that accomplished?
My classroom is: http://training.mice.org/
And I need the link to go to http://mice.org/
I don't know PHP so please be gentle with me.
Thank you in advance, Debbie
You'll be fine, Fellow Moodler.
And if there is a better way to do it, someone will almost certainly jump in and say so.
Let us know if you have any problems.
Regards,
Art
- In your theme's folder, you will find the header.html file.
- When you open that file in a text editor, you should be able to insert your link just above the END OF HEADER comment. (If that does not work, try a couple of different locations for the link.)
And if there is a better way to do it, someone will almost certainly jump in and say so.
Let us know if you have any problems.
Regards,
Art

Here's something interesting I did the other day for a client who was asking for the same thing: I floated the "Home" link before the breadcrumb, then renamed the site shortname to "Training".
This created the effect of Home > Training > Course 101, whereby clicking Home took the user to the client's home page, Training to the Moodle home page, etc. I think you get the idea.
Anyway, here's how to make that happen:
Add the following to header.html on a line right before the breadcrumb:
<div class="linkhome" style="float:left;padding-top:5px;"><a href="http://mice.com" title="Mice Home">Home</a> ► </div>
And, of course, this may need some adjusting to suit your theme, but that's about it in a nutshell.
This created the effect of Home > Training > Course 101, whereby clicking Home took the user to the client's home page, Training to the Moodle home page, etc. I think you get the idea.
Anyway, here's how to make that happen:
Add the following to header.html on a line right before the breadcrumb:
<div class="linkhome" style="float:left;padding-top:5px;"><a href="http://mice.com" title="Mice Home">Home</a> ► </div>
And, of course, this may need some adjusting to suit your theme, but that's about it in a nutshell.
