Moodle

Course Category Indentations gone awry

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Linux Debian Etch Server

Description

Indentation display of categories and courses has gone awry. No order to the logical indentations.

The structure which should display as described thus:
http://derrin.org/images/proper_nesting_Screenshot.png

is actually displaying thus:
http://derrin.org/images/courses_display_issue.png

This is a production site... please can anybody help??

The issue is unfortunately not simply a theme issue as the problem remains in all themes incl. standard white, formal white, etc....

Activity

Hide
Frank Ralf added a comment -

For a detailed discussion of the underlying markup of the category section see "Course Categories - The Ugly Duckling" (http://docs.moodle.org/en/User:Frank_Ralf/Semantic_HTML3)

Show
Frank Ralf added a comment - For a detailed discussion of the underlying markup of the category section see "Course Categories - The Ugly Duckling" (http://docs.moodle.org/en/User:Frank_Ralf/Semantic_HTML3)
Hide
Nathan Friend added a comment -

I managed to fix this after a bit of css hacking. In /moodle/theme/standard/styles_layout.css add

table.categorylist td { Width: 320px; border-width: 0px,0px,0px,0px; border-spacing: 0px; border-style: solid; border-collapse: collapse; background-color: white; }

.category.indentation { Width: 8px; border-width: 0px 0px 0px 0px; border-spacing: 0px; border-style: solid; border-collapse: collapse; background-color: white; }

.category.name {
Width: 220px;
border-width: 0px 0px 0px 0px;
border-spacing: 0px;
border-style: solid;
border-collapse: collapse;
background-color: white;
}

.category.number {
Width: 10px;
border-width: 0px 0px 0px 0px;
border-spacing: 0px;
border-style: solid;
border-collapse: collapse;
background-color: white;
}

Works great in IE 6 and above, not so good in IE 5 but readable.

Show
Nathan Friend added a comment - I managed to fix this after a bit of css hacking. In /moodle/theme/standard/styles_layout.css add table.categorylist td { Width: 320px; border-width: 0px,0px,0px,0px; border-spacing: 0px; border-style: solid; border-collapse: collapse; background-color: white; } .category.indentation { Width: 8px; border-width: 0px 0px 0px 0px; border-spacing: 0px; border-style: solid; border-collapse: collapse; background-color: white; } .category.name { Width: 220px; border-width: 0px 0px 0px 0px; border-spacing: 0px; border-style: solid; border-collapse: collapse; background-color: white; } .category.number { Width: 10px; border-width: 0px 0px 0px 0px; border-spacing: 0px; border-style: solid; border-collapse: collapse; background-color: white; } Works great in IE 6 and above, not so good in IE 5 but readable.
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (3)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: