Navigation Block in 2.6

Navigation Block in 2.6

by Jamie Hibbard -
Number of replies: 1

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

Average of ratings: -