hi! Mary
i'am sorry that I didn't express clearly(i am a chinese senior high school student), i mean that i want to modify the weblink at the bottom of the home page such as free moodle theme ,I have to find a great deal of information,But did not find concrete solutions.Please help me.
happy new year!
Re: 回應: Re: how to change the bottom link of free moodle theme
回應: Re: 回應: Re: how to change the bottom link of free moodle theme
hi! Mary
i have take some photoes in the attachment,please give me some opinions.
Re: 回應: Re: 回應: Re: how to change the bottom link of free moodle theme
回應: Re: 回應: Re: 回應: Re: how to change the bottom link of free moodle theme
yes,
i have to replace a theme,and i find it no longer exits.but i need a weblink in the bottom .and it can link to a web site that i like.so,Whether it is possible to solve this problem.
回應: Re: 回應: Re: 回應: Re: how to change the bottom link of free moodle theme
'<a title="QQ腾讯" href="http://www.qq.com/" >'.
'腾讯网</a></div>';
Re: 回應: Re: 回應: Re: 回應: Re: how to change the bottom link of free moodle theme
Dear Kingda,
Hello,
I'm a new user to moodle and i'm having the same problem. I followed your directions and found the weblib.php and then i found the home link. But after that i'm affraid i got lost.
Here is the code on the weblib page:
} else if ($course === 'none') { // Don't print any links etc
$homelink = '';
$loggedinas = '';
$home = false;
} else if ($course === 'home') { // special case for site home page - please do not remove
$course = get_site();
$homelink = '<div class="sitelink">'.
'<a title="Moodle '. $CFG->release .'" href="'">http://moodle.org/">'.
'<img style="width:100px;height:30px" src="pix/moodlelogo.gif" alt="moodlelogo" /></a></div>';
$home = true;
} else {
$homelink = '<div class="homelink"><a '.$CFG->frametarget.' href="'.$CFG->wwwroot.
'/course/view.php?id='.$course->id.'">'.format_string($course->shortname).'</a></div>';
$home = false;
}
} else {
$course = get_site(); // Set course as site course by default
$homelink = '<div class="homelink"><a '.$CFG->frametarget.' href="'.$CFG->wwwroot.'/">'.get_string('home').'</a></div>';
$home = false;
But i'm not sure what you mean when you say;
and we can Imitate it and make a weblink, for example: $qqlink = '<div class="sitelink">'.
'<a title="QQ腾讯" href="http://www.qq.com/" >'.
'腾讯网</a></div>';