Decaf

Themes ::: theme_decaf
Maintained by Paul Nicholls
A clean, simple theme which adds an "Awesomebar" at the top of the page to provide quick, easy navigation.
Latest release:
213 sites
30 downloads
17 fans
Current versions available: 5

Decaf is a three-column, fluid-width theme for Moodle that was created by Lei Zhang and Paul Nicholls. It improves usability by fixing an "Awesomebar" at the top of the screen, which provides dropdown menus containing everything in the Navigation and Settings blocks.

For developers, it also transforms the performance info into a colorful bar which floats at the bottom of the screen, which increases awareness of the performance statistics.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Paul Nicholls (Lead maintainer): Developer
Lei Zhang
Lei Zhang: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Just wondering . . .
    Fri, 27 Mar 2015, 6:10 AM
    Further comment: Videoeasy give a lot more power to deployment of video. It does work with Decaf in forum, but not in labels.
    Justin has said "The other thing is that labels are evil. I don't know why, but the way the filters are applied in labels is somehow different to other parts of Moodle. In particular the order of filter application at site level does not seem to be the same at label level. So try putting viewing a video in a forum post and see if that works."

    To focus on what I am really trying to achieve: nice video deployment in Moodle 2.8+ with Decaf.
    -Derek
  • Just wondering . . .
    Tue, 28 Apr 2015, 5:11 AM
    Decaf and Videoeasy, a month later.
    A little bit of clarity.
    Video easy works with Clean: http://vle.tpp.ac.nz/course/view.php?id=444 (Topic 1
    Fails with Decaf: http://vle.tpp.ac.nz/course/view.php?id=189&section=1

    I've reported this on Git. https://github.com/CTANZ/moodle-theme_decaf/issues/21

    Probably the most difficult problem I routinely face: two non-core plugins that do not play nicely together.

    -Derek
  • Just wondering . . .
    Tue, 28 Apr 2015, 5:14 AM
    PS. This just arrived in my mail from a friend who I asked to help.
    "The flow player CSS is enormous. There’s over 30 classes I can see that need repair scattered across dozens of elements. I’d need to do a side by side comparison of Decaf vs Clean.
    Basically, this isn’t a quick fix, probably several hours and unfortunately, I really don’t have the time to spare for it 
    Sorry. This is a job for the developer"
    He may or may not be right. Sometimes these big glitches result from one line of code.

    smile
    Cheers, Derek
  • Ron Coller
    Thu, 30 Apr 2015, 10:48 PM
    We have just upgraded to the Moodle 2.7 version previously on 2.5 using the Decaf theme. One of our instructors was complaining about the docking feature is not available any longer. I have researched and researched and cannot find anyone that has stated a concern over the ability to dock a block. Am I missing something?

    Any help on the matter would be greatly appreciated.

    Ron
  • Lori Bakken
    Thu, 30 Apr 2015, 11:37 PM
    Ron,

    Just add:
    $THEME->enable_dock = true;

    Into the config.php file in the decaf folder.

    Lori
  • Just wondering . . .
    Wed, 6 May 2015, 9:48 AM
    Following up on my post about Videoeasy and Decaf.
    Still faulting.

    I've updated the Issue report on GIT. https://github.com/CTANZ/moodle-theme_decaf/issues/21

    -Derek
  • Ron Coller
    Fri, 8 May 2015, 8:16 PM
    Lori,

    Thank you so much, that worked.

    Ron
  • Just wondering . . .
    Mon, 25 May 2015, 8:05 AM
    In the decaf GIT, does anyone now the difference between the master and responsive branches?
    https://github.com/CTANZ/moodle-theme_decaf

    -Derek
  • Just wondering . . .
    Wed, 27 May 2015, 7:55 AM
    Sorry about the dumb questions guys. Of course someone knows the difference.

    A little more of a considered post.
    The other day Gareth posted this: “adding Awesome Bar into Essential for Desktops only (as it looks bad on mobiles)” - https://moodle.org/plugins/view/theme_essential
    I assumed the new Decaf was responsive, including the Awesome Bar. I have never used our main Moodle on mobile. When I looked on Sunday we have no AB when I use a mobile. Is this a problem of our setup?
    Our Decaf version: 2014010 - 2.0.5613 How can I tell if this has responsive elements in it or not for AB?
    Should we be using the download from the responsive branch on Git?

    -Derek
  • Alan Whittamore
    Wed, 27 May 2015, 4:32 PM
    Derek,

    At the top of this page are screenshots of decaf including one for a mobile device.
    You access the awesomebar using the 'burger button' as Paul calls it (top right).
    I've already found that if you want custom menus, these are best attached to the awesome bar for display on mobiles.
    You can simulate a mobile by reducing your browser window on your PC (at least that works for me) smile
    BTW I have the same release of decaf (2.05 - the latest) which says it's for 2.8 but it works for me on 2.9 and even the 3.0 dev branch.

    -Alan
  • Jason Brisson
    Thu, 18 June 2015, 9:10 PM
    First things first, thx for this Awesome theme!! :P

    I'd like to know if it's possible to disable the mouse-over events on the Awesome bar so the user would have to click to open the menu and submenu. Do you think it's relatively easy to achieve? I have some basic PHP knowledge but none in javascript and i suspect this would be the place to make the change.

    Your help would be greatly appreciated!

    Thx again!
  • Just wondering . . .
    Sat, 19 Dec 2015, 12:18 PM
    Jason, maybe you have moved on since you posted in June, or did you find an answer.

    I'm not sure if you need to use Javascript for this. I presume you have checked the CSS with something like the developers tools in Chrome.

    I can see why you want this. In one of the Moodles I work with there is a strong feeling that many of the users do NOT want the rollover since they move their cursor to the top so often and get it then they don't want it. We did I think try to adjust the rollover time so it did not kick in so fast.

    -Derek
  • Just wondering . . .
    Sun, 27 Dec 2015, 4:28 AM
    Awesome Bar and responsiveness.
    I have just re-read Richards post from last year here: https://moodle.org/mod/forum/discuss.php?d=252385#p1094468
    Where is the AB at regarding responsiveness?
    How are people working with this aspect?
    Is it best to have a Mobile theme as well as Decaf?

    Just curious.
    -Derek
  • Sakshi Goel
    Thu, 7 Jan 2016, 1:34 PM
    Hello ,
    I am using Decaf theme with Moodle 3.0 version. When we create new user in Moodle and tick force password change option during setting and user is logged in Moodle it shows below error :

    Error detectat. cal que l'arregli un programador: session_is_loggedinas() is removed, use \core\session\manager::is_loggedinas() instead

    Vés al contingut principal
    Error detectat. cal que l'arregli un programador: session_is_loggedinas() is removed, use \core\session\manager::is_loggedinas() instead
    Debug info:
    Error code: codingerror
    Stack trace:
    line 422 of /lib/deprecatedlib.php: coding_exception thrown
    line 18 of /theme/decaf/layout/navbar.inc.php: call to session_is_loggedinas()
    line 44 of /theme/decaf/layout/columns2.php: call to include()
    line 1016 of /lib/outputrenderers.php: call to include()
    line 946 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 155 of /login/change_password.php: call to core_renderer->header()
  • JJ Combs
    Tue, 26 Apr 2016, 2:34 AM
    Hello,

    We just upgraded our Moodle environment from 2.7 to 2.8. We have upgraded the Decaf theme to 2.1.0. In Moodle 2.7, the freeze user column in the grader report worked normally. However, the user column no longer freezes in Moodle 2.8 using the decaf theme (with or without Ajax enabled). However, it freezes normally when switching to the Clean theme. Is there a workaround for this, since we would really like to continue to use the Decaf theme?
Please login to post comments