Random glossary on front page with fixed height

Random glossary on front page with fixed height

Fredrik Pedersen-Dambo發表於
Number of replies: 8

Hi, is it possible to use random glossary on right and left columns on front page with a fixed height? Maybe with only showing a few lines of text with at read more link?

評比平均分數: -
In reply to Fredrik Pedersen-Dambo

Re: Random glossary on front page with fixed height

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
It would be a very good idea. Why don't you submit this as an IMPROVEMENT in the Moodle bug tracker?
Joseph
In reply to Joseph Rézeau

Re: Random glossary on front page with fixed height

Fredrik Pedersen-Dambo發表於

Thanks. I have now submitted it to the bug tracker.
Fredrik

In reply to Fredrik Pedersen-Dambo

Re: Random glossary on front page with fixed height

Sigurdur Jonsson發表於

Do you know if there has been any progress on this?

In reply to Sigurdur Jonsson

Re: Random glossary on front page with fixed height

Frank Ralf發表於
Meanwhile you could try hacking the CSS a bit, which admittedly is far from perfect:

div.block_glossary_random div.content {
height: 20em;
overflow: scroll;
}

See screenshot for the result and http://reference.sitepoint.com/css/overflow for more information on using "overflow".

hth
Frank
附件 Random_glossary_block_overflow.png
評比平均分數:Useful (3)
In reply to Frank Ralf

Re: Random glossary on front page with fixed height

Joe Rowe發表於
I'd like to apply the fix suggested by Frank above ( CSS, overflow)

Where is the file I can edit and apply the fix?
In reply to Joe Rowe

Re: Random glossary on front page with fixed height

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
@Joe
Simply add the CSS rule suggested by Ralf at the end of any of the CSS files in your current moodle theme.
Joseph