Moodle plugins directory: Decaf | Moodle.org
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.
Useful links
Contributors
Paul Nicholls (Lead maintainer): Developer
Lei Zhang: Developer
Please login to view contributors details and/or to contact them
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
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§ion=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
"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.
Cheers, Derek
Any help on the matter would be greatly appreciated.
Ron
Just add:
$THEME->enable_dock = true;
Into the config.php file in the decaf folder.
Lori
Still faulting.
I've updated the Issue report on GIT. https://github.com/CTANZ/moodle-theme_decaf/issues/21
-Derek
Thank you so much, that worked.
Ron
https://github.com/CTANZ/moodle-theme_decaf
-Derek
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
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)
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
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!
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
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
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()
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?