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

Navigation Block not acting as previous

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Component/s: Navigation
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      43016-27
    • Pull Master Diff URL:

      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

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              langstone jamie hibbard
              Peer reviewer:
              Andrew Davis
              Integrator:
              Dan Poltawski
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14