Non-core contributed modules

No squares displayed in the bar

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.7
  • Fix Version/s: None
  • Component/s: Block: Progress
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

I've just added the progress bar to our 1.9.7 environment, and it's working well except I'm not see the outlines for the squares as shown in your screenshot for the block.

Also, if I don't set icons to Yes, the boxes hide all the completed work.

NOTE: I have changed the code as indicated in the discussions to remove the "date-sensitive" information since we are an open enrollment school.

Activity

Hide
deraadt added a comment -

Hi Elizabeth,

I've modified the styles and this may help your box issue.

Also, I've fixed the icons setting.

Michael;

Show
deraadt added a comment - Hi Elizabeth, I've modified the styles and this may help your box issue. Also, I've fixed the icons setting. Michael;
Hide
Elizabeth Senger added a comment - - edited

Michael,

I tried the new version - same problem. However, in the course of fixing a different issue I think I discovered the problem. Some of your files are being saved/uploaded with the BOM. If you resave them in the correct format (Notepad - ANSI), the problem disappears.

Correction - in the old version the BOM fixed the display of the squares, etc. In the new version, we're still left with the icons must be displayed to show anything other than one square.

Show
Elizabeth Senger added a comment - - edited Michael, I tried the new version - same problem. However, in the course of fixing a different issue I think I discovered the problem. Some of your files are being saved/uploaded with the BOM. If you resave them in the correct format (Notepad - ANSI), the problem disappears. Correction - in the old version the BOM fixed the display of the squares, etc. In the new version, we're still left with the icons must be displayed to show anything other than one square.
Hide
Michael de Raadt added a comment -

Hi Elizabeth,

I checked and all the files are in ANSI format, except the language files.

I'm not sure why this is happening to you and not others.

Could you send me the source that the block is producing when rendered in your browser. Also, could you give me specifics about the operating system and browser you are running.

Michael;

Show
Michael de Raadt added a comment - Hi Elizabeth, I checked and all the files are in ANSI format, except the language files. I'm not sure why this is happening to you and not others. Could you send me the source that the block is producing when rendered in your browser. Also, could you give me specifics about the operating system and browser you are running. Michael;
Hide
Elizabeth Senger added a comment -

It's the language files that are causing the issue. The blockprogress.php in the lang/eng folder is not in ANSI format, and it threw off all of the admin pages until I fixed it.

The reason we are noticing it, most likely, and not others, is that we are on the Feb. 20 weekly build.

I went back to the previous release, and once I fixed the language file it seems to work fine. The newer release didn't get fixed with the different language file.

Show
Elizabeth Senger added a comment - It's the language files that are causing the issue. The blockprogress.php in the lang/eng folder is not in ANSI format, and it threw off all of the admin pages until I fixed it. The reason we are noticing it, most likely, and not others, is that we are on the Feb. 20 weekly build. I went back to the previous release, and once I fixed the language file it seems to work fine. The newer release didn't get fixed with the different language file.
Hide
Michael de Raadt added a comment -

Sounds like this is a bug in the language system.

The language files definitely need to be Unicode files to allow the variety of characters for other languages.

Michael;

Show
Michael de Raadt added a comment - Sounds like this is a bug in the language system. The language files definitely need to be Unicode files to allow the variety of characters for other languages. Michael;

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: