Simplespace theme - how to hide navigation

Simplespace theme - how to hide navigation

by Andrew Lian -
Number of replies: 14

Hello,

I am not sure if this is the right place to post.

I am new to v2.0. I would like to have a very uncluttered moodle site. I am using the simplspace theme.

Is there some way that I can permanently hide the Navigation block? I understand that I could do this by hacking the css files, but is there some less dangerous way of proceeding? Every other block seems to appear and disappear according to various parameters, except the Navigation (which cannot even be docked). In v1.9.10 it was possible to control all blocks but I understand that things have now changed and that control is vested primarily in the theme.

Any assistance/insights gratefully accepted.

Andrew

Average of ratings: -
In reply to Andrew Lian

Re: Simplespace theme - how to hide navigation

by John St -

You should be able to dock that block, at least you can in my local install. Hiding the nav block is not specific to this theme.

In reply to John St

Re: Simplespace theme - how to hide navigation

by Andrew Lian -

Thanks very much for your help. I did manage to make it totally invisible to non-admins by editing the block and setting the permissions appropriately. I had not realised this could be done. This way, no hack is needed.

Thanks again

Andrew

In reply to Andrew Lian

Re: Simplespace theme - how to hide navigation

by Mary Evans -

Why HIDE the Navigation Block! How else would you be able to navigate about the site? You would be totally lost if Moodle Forum's Navigation block vanished!

Are you talking about Settings perhaps...now that is only viewable to those who have admin rights.

Or are you just talking about Hide/Unhide? You can do this by clicking on the +- sign in the top right of the block header as it has always been!

Similarly clicking the docking icon puts the Navigation in the docking bar.

Mary

In reply to Mary Evans

Re: Simplespace theme - how to hide navigation

by Andrew Lian -

Hi Mary,

Thanks for the feedback. I am keen to remove the navigation block for students - they can use the breadcrumbs and also the tabs at the top in the particular template I am using. I am concerned that the navigation block is taking too much space on the left. The way I have it organised now, it is invisible to students but visible to admins. So... you are absolutely right in terms of its usefulness to managers. I was getting frustrated because it seemed possible to manipulate the visibility of all blocks except this one.

Thanks again

Andrew

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Simplespace theme - how to hide navigation

by William Lu -

To control blocks on/off are always needed! Why other blocks has an 'eye' icon except this one? And it is so stubborn, you have to click on the 'Configuration' icon to change visible from 'Yes' to 'No'. The pain is that you have to do this on every activities and resources on all courses.

As admin, I can allow users to use MyMoodle and 'Custom menu items' to navigate to what I want them to see. I also have a lot of courses which are not for every one to know (i.e. Private tutorials). But, when a Private tutor add a new items in his/her courses, the Navigation block come out automatically, and I won't have any control on that.

Please advise me any clue how to hide this naviation block site wide.

Thanks

Average of ratings: Useful (1)
In reply to William Lu

Re: Simplespace theme - how to hide navigation

by John St -

This isn't specific to this theme as they all are like this. Someone else mentioned roles/permissions to hide the navigation block so you could look into that.

You could also use a theme renderer to filter out the navigation block for all users except for admins. Here is a link to a sample theme that does just that.

In reply to William Lu

Re: Simplespace theme - how to hide navigation

by William Lu -

I found out now, it is easy:

Admin/Plugins/Blocks/Manage blocks:

Find Navigation, then turn the eye off.

Done.

I love Moodle2.0 smile

Average of ratings: Useful (2)
In reply to William Lu

Re: Simplespace theme - how to hide navigation

by Paolo Oprandi -

The navigation block is confusing. 

The ability to turn blocks on and off from the admin manage blocks pages isn't a moodle 2 feature - it been in moodle since the beginning - when it seemed to have some direction 

In reply to Mary Evans

Re: Simplespace theme - how to hide navigation

by Leslie Barrett -

Hi Mary,

I prefer the Course Menu block. I can turn on many of the nav block features and more, and it works better. The learners also may use  breadcrumbs and Jump to... menu. I find that this creates a great interface, especially when I am designing courses to function more like a website (one topic at a time). 

Leslie

In reply to Andrew Lian

Re: Simplespace theme - how to hide navigation

by Manish Verma -

Hi Andrew,

To simplify things for the students and to deal with the concern about the slowness of moodle 2.0, the idea of hiding navigation block can be worth consideration. If you can possibly provide steps to edit/override roles for this block to attain this objective for non admins, it could be useful.

Manish.

Average of ratings: Useful (1)
In reply to Andrew Lian

Re: Simplespace theme - how to hide navigation

by Eric Stephan -

Andrew, you mentioned that you found a way to make the Navigation block "totally invisible to non-admins by editing the block and setting the permissions appropriately. I had not realised this could be done. This way, no hack is needed."

What was the way you adjusted those permissions?  I found out where the eye-icon is to totally hide it, but that of course hides it for Admins also.  When I click the little icon on the block to adjust Roles, the resulting page tells me that I "cannot adjust roles for that" even though I am of course logged in as admin.

 

Thanks! --eric

In reply to Andrew Lian

Re: Simplespace theme - how to hide navigation

by Lei Zhang -

Andrew, you can actually hide the navigation block in the theme level, but it would require you to write a custom code in your theme. As Mary mentioned, you don't really want to hide it unless you've got an alternative way for students to navigate their courses. Have a look "Decaf" theme in the theme repository, it provides a setting to help you enable/disable the navigation block. Since decaf has put the entire navigation block into "awesome bar"(drop down menu at the top), so it make scenes to hide navigation block from the page.

In reply to Andrew Lian

Re: Simplespace theme - how to hide navigation

by Judy Hsu -

Hi, this is sort of embarrassing...

I was able to do it on a testing site but I forgot how I did it. Basically I want to have "Settings" and "Navigation" blocks available ONLY to teachers and administrators, and NOT students. For this site there are only three simple SCORM courses so we really don't want the Settings and Navigation blocks show up to confuse students. How do I do that please? Thanks!