Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43016

Navigation Block not acting as previous

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.6.1
    • Navigation
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • 43016-27
    • Hide

      Requires a site with several categories.

      1. Log in as an admin
      2. Turn on editing
      3. Edit the navigation block settings
      4. Turn on linkcategories and save
      5. Expand the "Courses" branch in the navigation.
      6. Check that the course categories (loaded by AJAX) are links.
      Show
      Requires a site with several categories. Log in as an admin Turn on editing Edit the navigation block settings Turn on linkcategories and save Expand the "Courses" branch in the navigation. Check that the course categories (loaded by AJAX) are links.

    Description

      I have just upgraded from 2.3.1... i think. I have come across a couple of problems!

      Problem 1

      I use to have the Courses bar always expanded, to do this in blocks\navigation\renderer.php I add

      && $item->text!="Courses ")

      to line 131 so it reads

      if ($item->has_children() && (!$item->forceopen || $item->collapse) && $item->text!="Courses")

      { $liclasses[] = 'collapsed'; }

      I can see on the main page that the arrow is pointing down (and i have to click twice to expand) however the sub categories are not shown.

      Problem 2

      I have subcategories which are just one page of text and have set display categories as links to yes.

      When on the main page these are not click able within the tree

      http://moodle.langstone-jun.portsmouth.sch.uk/

      However once I am in the tree and it is displaying as normal, they are clicking them send me straight to the page.

      http://moodle.langstone-jun.portsmouth.sch.uk/course/index.php?categoryid=36

      Hope someone can help

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              langstone jamie hibbard
              Andrew Davis Andrew Davis
              Dan Poltawski Dan Poltawski
              Andrew Lyons Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14