My Block have Problem?

Re: Glossary Random Block for Moodle 1.5

by Marc Dastous -
Number of replies: 1

Jan;

Love the work you have done. I was worried I wouldn't have this block and it was keeping me from upgrading to 1.5dev.big grin

Here is what I have found so far...

  • For the tabs not to be grey, I have added the following code under Content Styles to the styles_color.css
     .generaltab {

    color: #000000;
    background-image:url('gradient.jpg');

    }

  • In block_glossary_random.php, I believe we need to change Line 103

    print_simple_box_start(

    'center', '', $THEME->cellheading);

    To satisfy the new CSS
  • Finally, I'm not sure if this is a by-product of the import, but my font sizes on some of the entries are wacko.  I can't edit them either.

Thanks again!

Marc

In reply to Marc Dastous

Re: Glossary Random Block for Moodle 1.5

by Jan Dierckx -
Marc, thanks for the detailed report.
  • I don't know too much about CSS. What do you mean with grey tabs? I don't recall using a class called generaltab. Are you referring to the tabs used in the glossary module itself?
  • Indeed the new CSS makes use of $THEME unnecessary. I now have used the class parameter discussed here
  • About the wacko font sizes: were they wacko in the 1.4 version of the block as well? If not, I think I know what change has caused this. If they were wacko in 1.4 as well, er ... could you send me the html of the entry that's causing this behaviour?