Publicaciones hechas por por Joseph Rézeau

Moodle in English -> Themes -> 1.5 Themes Basics -> Re: 1.5 Themes Basics

por Joseph Rézeau -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators
Hi Barry,
Now I understand your question. In Moodle 1.5+ You will find in file \moodle15\moodle\theme\orangewhite\header.html two sets of lines clearly marked
  1. for the header of a site's home page (login/entry/site-index page):
    <?php if ($home) { // This is what gets printed on the home page only etc.

  2. for the header of all other pages (courses):
    <?php } else if ($heading) { // This is what gets printed on any other page with a heading etc.
Or maybe what you want it to display in the header of each course in your Moodle site information specific to that course? You can display the name of the course, using the variable $heading, of course, but what other info would you like to display? I think there is a list of variable available but can' find it right now.

Joseph
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

$THEME->navmenuwidth = xx does not work in my Moodle 1.5 (nor in 1.5.2) installation. It does not matter whether I set the value to less than or greather than 50, strings in the navigation menu are cut at approx. 50 character long.

Has anyone managed to get it to work? Is it dependent on another setting, apart from being present in the theme's config.php file? Otherwise I'll file a bug report

Joseph