course category description

course category description

بواسطة - Katja Leesemann
عدد الردود: 7

Hello @ all!

I would like to describe my different course categories, but haven't found any kind of editing the course categories (only the courses itself).

Thanks.

Katja

متوسط التقييمات: -
رداً على Katja Leesemann

Re: course category description

بواسطة - Sigurdur Jonsson
Hi there,

This is something I've often wished was possible.

regards,
S.Fjalar
رداً على Sigurdur Jonsson

Re: course category description

بواسطة - Rico Dredd

There is a way to do via a bit of html code on the course category description line. So long as you specify location of a static page containing the description you wish to use.

Example code as used on my site change to suit yours:

Student Development </a><A href="javascript:void(0);"onclick="window.open('http://moodle.highlands.ac.uk/static/studev.html','myWindow','menubar=0, location=0,scrollbars,resizable,width500, height = 400');"><img src="http://moodlelocationatyoursite/static/images/info.gif" align=middle hspace=20 width=16 border="0" alt="Click here for Information" /></A>

Obviously tailor to your requirements, so create a folder containing your html pages, the info gif or similiar and use full path in description line of course category.

Hope this helps

Rico

رداً على Rico Dredd

Re: course category description

بواسطة - Katja Leesemann

Thanks Rico.

I tried, but it wouldn't come up, even though it looks right to me from the html code.

رداً على Katja Leesemann

Re: course category description

بواسطة - Rico Dredd

It does work from my 1.5.2 site http://moodle.highlands.ac.uk/ but not on my 1.6 test site so wondering if permission changes required.

Visit main site to see it in action and click on the Info icons to see what should happen. Check code does not change after renaming category does for some reason on 1.6 site? Apart from that ensure no spaces in the HTML code if not either of those not sure, coding not speciality I am afraid.

Faculty of Construction & Engineering </a><A href="javascript:void(0);"onclick="window.open('http://moodlelocation/static/fac50.html','myWindow','menubar=0, location=0,scrollbars,resizable,width500, height = 400');"><img src="http://moodlelocation/static/images/info.gif" align=middle hspace=20 width=16 border="0" alt="Click here for Information" /></A>

Hope it helps a bit

Rico

رداً على Rico Dredd

Re: course category description

بواسطة - Katja Leesemann

Thanks again! It works well on your site and looks great (exactly what I need). I noticed, that it is often cut off if renamed, but it still won't work...unfortunately حزين

I will leave it alone and try later.

رداً على Katja Leesemann

Re: course category description

بواسطة - Robert Brenstein
I am not sure whether you mean to display category description in a block or on the category page. If the latter, see attachment for Bug #3956 for instructions how to implement this in Moodle 1.5.x.