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
22 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
-Derek
---
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.
Why?
We have the need to show the whole tree with all categories.
Why it isn`t possible. Maybe as an option in decaf settings
-Derek
@Alan, I cannot find this setting in admin, and the "Turn editor off" does not appear on our sites that use decaf.
-Derek
I've just noticed Ishan's post mentioned version 1.7. Is there a way from within Moodle to find the release number?
-Derek
Alan: like Derek, I can't seem to get this to appear anywhere, no matter my role. Which version of Moodle are you using? Decaf shouldn't be making any changes to that anyway, so it's likely that it's just the same behaviour as the settings block would exhibit in any other theme, in which case you might be better off posting somewhere in the forums or submitting a tracker ticket (if you think it's a bug) to get an answer, since it's related to Moodle in general rather than Decaf.
Derek: Unless you've downloaded directly from Github, you won't be on 1.7 - I haven't officially released it yet, so Ishan must have grabbed it from Github. I'm still tidying it up, so I wouldn't necessarily suggest using it just yet. As for printing, I haven't tried actually printing it, but print previews in Firefox, Chrome and IE seem to show everything (including content) for me. The print view could probably do with some cleaning up, but on the whole it seems to work as expected. If you are still having this problem, and have isolated it to Decaf (i.e. it happens if you're using Decaf itself (not a child theme) and doesn't happen with other themes), please post in the Decaf forum thread with more details.
Re 1.7 and the inevitable feature creep.
I have found with Decaf that even being able to change JUST the header colour it lifts the whole theme visually, and also the option of reducing the height of the heading. I also like the idea of a logo.
Decaf + Course menu is a great combination.
-Derek
When hiding/un-hiding a resource inside a course, on the first click, the hide-unhide icon changes but not the text Show/Hide, then, from the the second click onwards the text also starts changing.
The issue here is that from the second click the text and the icon next to it show the current status of the resource not the actual command they will do.
This might look cosmetic but so far this issue has caused a number of teachers getting confused thinking they have hidden a material while the resource been available to the students.
Cheers,
Mohsen
https://github.com/leizhang/moodle-theme_decaf.git (version 1.7)
or
https://github.com/CTANZ/moodle-theme_decaf.git (version 1.7.3)
I didn't get it right - please give me a hint.
I found a bug in DECAF, which is replicable:
If I have a course with no sections (only section 0) and I want to access activities with the role "student" I only get a white page and a PHP Error message:
"PHP Fatal error: Call to undefined method decaf_expand_navigation::format_display_course_content() in ../moodle/theme/decaf/lib.php on line 526"
With the treainer role, everything works fine.
If I add one section, the error is gone.
Ishan
-Derek