Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Anthony,

This is one of a number of options which at the moment are available only at site level which I would very much like to see available at course level. Teacher power!cool

It may well be that the new roles & permissions feature in forthcoming 1.7 will answer this request in part, but I have not tested it yet.

Joseph

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Sam,

Sorry I sent you on a wrong track.blush

I suppose you are using Moodle 1.6+. Starting with 1.6 a number of changes have been made to the Moodle interface, to support better accessibility. You can see some of these changes e.g. in moodle\theme\standard\header.html


<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
<div id="header-home" class="clearfix">
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<div id="header" class="clearfix">
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
<div class="navbutton"><?php echo $button; ?></div>
</div>
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
?>
<hr size="1" noshade="noshade" />
<?php } ?>

Unfortunately, the necessary changes have not been made to the cornflower theme which, however, continues to be distributed with 1.6 and 1.7 Moodle packages. I have reported this as bug MDL-7335.

In the meantime, if you insist on using the cornflower theme, you could carefully compare the header.html files in both the standard and the cornflower folders, and try to work out the necessary "accessibility" changes which will restore the horizontal breadcrumb (see attached, not perfect however, for lack of time).

All the best,

Joseph

Attachment image-0000.jpg