Simply Adding a top link beneath the logo Image

Simply Adding a top link beneath the logo Image

by Debbie Mahler -
Number of replies: 7
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
Average of ratings: -
In reply to Debbie Mahler

Re: Simply Adding a top link beneath the logo Image

by Art Lader -
Hi, Debbie,

This won't be so bad. smile

Do you know which theme you are using?

-- Art
In reply to Art Lader

Re: Simply Adding a top link beneath the logo Image

by Debbie Mahler -
I had someone modify the standard theme for me to one called "mice".

Thank you for the confidence there! I'm hyperventilating! thoughtful

Debbie
In reply to Debbie Mahler

Re: Simply Adding a top link beneath the logo Image

by Art Lader -
You'll be fine, Fellow Moodler.
  1. In your theme's folder, you will find the header.html file.
  2. 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.)
Upload the edited file and take a look at your site. You may have to refresh the browser to see the change.

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
Attachment debbie.gif
Average of ratings: Useful (2)
In reply to Art Lader

Re: Simply Adding a top link beneath the logo Image

by Debbie Mahler -
Bless you! Bless you! Bless you!
It worked! big grin

I can't believe it was so easy!

Thank you so much!
Debbie
In reply to Debbie Mahler

Re: Simply Adding a top link beneath the logo Image

by Art Lader -
You are welcome, Debbie.

Happy Moodling. smile

-- Art
In reply to Debbie Mahler

Re: Simply Adding a top link beneath the logo Image

by Patrick Malley -
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>&nbsp;►&nbsp;</div>

And, of course, this may need some adjusting to suit your theme, but that's about it in a nutshell.


Attachment Picture_6.png
Average of ratings: Useful (1)
In reply to Patrick Malley

Re: Simply Adding a top link beneath the logo Image

by Art Lader -
Nice, Patrick! A good tip, for sure.

-- Art