Dreaded Settings block

Dreaded Settings block

by Adam Morris -
Number of replies: 8

Hi guys, I'm using 2.4.3. For our install of Moodle we don't use blocks very much for our courses or on activity pages. The users prefer the full screen effect, which we can get by setting the visibility of the Settings to "No".

Anyway, I'd like to figure out how I can get it so that when teachers make activities, the settings block is invisible by default. It seems that Moodle always makes the setting block visible.

Average of ratings: -
In reply to Adam Morris

Re: Dreaded Settings block

by Colin Fraser -

Hi Adam, I suspect you may be better off posting this in the General Developer Forum, more likely to get a more accurate answer there about whether you can completely hide it, but why? Staff can place the block on the dock where it is unobtrusive.

In reply to Colin Fraser

Re: Dreaded Settings block

by Adam Morris -

>Staff can place the block on the dock where it is unobtrusive.

But that's an extra click! Staff rarely use any of the features that the settings block provides, and hiding it doesn't take away the feature either, they can just click the cog to get things like "Change role to Student"

I just think that full screen without obtrusive, rarely-used clicks is more of a priority than having the settings block always there.

(Not a fan of Moodle's blocks!)

In reply to Adam Morris

Re: Dreaded Settings block

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Adam, it is good that you are thinking through your options.  You might have seen enough examples of various ways of setting up Moodle, and know exactly what you want.  However, if you are still trying to explore other ideas, I thought that I would share with you how I set up my own Moodle.  You will see in my videos which blocks I like to use and why.  These videos I made for my students.

In reply to Adam Morris

Re: Dreaded Settings block

by Paul Nijbakker -

Hi Adam,

Yo do not need to click on a docked block in order to see it, you just hover the cursor over its tab. Apart from that, accessing any "invisible" functionality is bound to involve clicks. I remember seeing a Moodle theme that rendered the blocks as links in the top menu bar. Maybe that is what you are looking for, but I can't remember what it was called.

Rgrds,
Paul.

In reply to Paul Nijbakker

Re: Dreaded Settings block

by Derek Chirnside -

Paul:

I believe what you are looking for is the Awesome bar, part of Decaf.

https://moodle.org/plugins/view.php?plugin=theme_decaf

Message me if you'd like to see a site with this in action.  Remove the Navigation Scroll of death.

You may also like https://moodle.org/plugins/view.php?plugin=block_course_menu

-Derek

In reply to Derek Chirnside

Re: Dreaded Settings block

by Adam Morris -
Decaf. Nice!
In reply to Adam Morris

Re: Dreaded Settings block

by Steven Mao -

We are also using Decaf. And I was working on customizing our navigation as well.

To remove the settings blocks, you can comment out "echo $awesome_settings" in /theme/decaf/layout/general.php but you want to filter users by has_capability()

To add custom menu, you may want to look into the render_custom_menu() in /theme/decaf/renderers.php

Hope this helps!

Mao

Attachment nav.png
In reply to Steven Mao

Re: Dreaded Settings block

by Derek Chirnside -

Steven, I am not sure that you need to do any hacks.  I had some help from Paul to sort this, and I posted in the plugins database, but the comment has no perma-link.  Here is what I posted:

---

You can't run Awesome bar AND the built in Nav and Settings menus. Just to much overhead. I did all my testing on decaf with these OFF and somehow someone added them in recently.
So, you are best to 
1) go to home page and for NAV and SETTINGS blocks show on front page only
2) Then "hide on front page" 
3) in DECAF settings set both to 'Show on front page=NO".
Slowness problem gone.

Using Decaf is a philosophical change: ditch the regular nav and settings bar - posted 8 FEB 2013 (on page 2 of the comments at this point in time)

https://moodle.org/plugins/view.php?plugin=theme_decaf

---

Other random notes:

  1. "Help" for decaf: There is no central help for Decaf, so I started a page recently here: http://docs.moodle.org/24/en/Decaf_theme  I have domestic stuff to do today and then will get to this tomorrow.  Feel free to write!!  Currently it is a hack of the rocket theme page which has some overstatements by Moodleman.  I'll write the overstatements for Decaf.  wink
  2. I have now worked with staff over a huge range of abilities, inclinations etc.  The comparison between standard Moodle in 1.9, standard Moodle in 2.X and decaf runs like this for my limited and unscientific sample:
    STAFF: one person dislikes the menus.  Everyone else thinks decaf is 'better'.  N=60
    STUDENTS: of a few who have used both, all prefer decaf.
  3. My opinion.  DON'T hack the theme: create a daughter theme.  Richard, Mary and Paul have all worked on this.  eg here: https://moodle.org/mod/forum/discuss.php?d=204541#p903453  I can write more on this.
    There are two options: Theme X > add awesome bar.  (See Richards post here: https://moodle.org/mod/forum/discuss.php?d=204541#p903453) OR: Decaf > your tweaked daughter theme.
  4. There are wish lists floating around.  Top of the list obviously is the logo.  I'm kind of hanging off on this until the user upload logo functionality arrives.  (I must try to find out if it is in 2.5)
  5. The downsides of decaf: I'm also looking at the options for finding simple quiz reports which is plain messy in decaf, but may be partly fixed in 2.5 - there are a few other menus that work like this - a bit long.  I think that there is some room for tweaking the layout of the columns, spaces, lines etc in standard decaf.  I've seen a few installs that have made improvements.  As an amateur, all I have ended up doing is breaking IE.  sad
    Debugging ON has a cool little floating panel, but doesn't show all the information you may want.

Cheers.

-Derek