Random glossary on front page with fixed height

Random glossary on front page with fixed height

by 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?

Average of ratings: -
In reply to Fredrik Pedersen-Dambo

Re: Random glossary on front page with fixed height

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of 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

by 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

by 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

by 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
Attachment Random_glossary_block_overflow.png
Average of ratings: Useful (3)
In reply to Frank Ralf

Re: Random glossary on front page with fixed height

by 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

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of 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