"More" (v.2.7)- to remove home link

"More" (v.2.7)- to remove home link

by sue sugizaki -
Number of replies: 2

Hi,

Now the logo I put on the navbar. The logo's automatically linked to the home of this Moodle site. I'd like to change/link it to another place.

Q1: How could I do it?

Q2: Would I possibly do it via custom CSS???



I'd really appreciate your help!


BR, sue

Average of ratings: -
In reply to sue sugizaki

Re: "More" (v.2.7)- to remove home link

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Sue,

You can do this either by changing the layout files in Clean theme, by changing the URL in this line

https://github.com/lazydaisy/moodle/blob/MOODLE_27_STABLE/theme/clean/layout/columns3.php#L56

for all the layouts that have that line in it.

Or copy the layout folder and files to your More theme and amend as explained above, and also add the $THEME->layout = array(...) to your more/config.php.

Either way should work.

That said if you are going to customise a theme to this extent it would be better to either clone More or make a child theme of More that you can customise at leisure.

Cheers

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: "More" (v.2.7)- to remove home link

by sue sugizaki -

Hi,


Thank you heaps!

Yup, it worked. 

Once I though of "making a child theme of More" or even creating a new one, but I had only 20 days or less to work on the theme.


So probably my summer project? smile


Cheers

Sue