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.

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 . . .
    Thu, 7 Feb 2013, 5:13 PM
    Decaf at the moment seems to be unuseable. I switched the performance info on in the footers, and page loads more than doubled for clicking around the site, sometimes more so. Page loads were generally under 1 second with the standard theme, and much more so with decal, often over 2 seconds.
    -Derek
  • Just wondering . . .
    Fri, 8 Feb 2013, 5:46 AM
    Just for the record: problem solved I believe. Things are written up somewhere in a post in one of the forums, but I had not noticed. I just called Paul who works just down the road.
    ---
    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.

  • Ishan Anders
    Tue, 12 Feb 2013, 12:04 AM
    In Decaf 1.7 for Moodle 2.4.1+ the awesomebar navigation tree shows only the toplevelcategories.
    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
  • Alan Hare
    Sat, 23 Feb 2013, 6:43 AM
    While logged in as a Student, navigate to a course or sub-section (not the Frontpage), they can see "Turn editor off" under [My profile settings]. Where can I disable/fix this for non-editors/admins?
  • Just wondering . . .
    Mon, 4 Mar 2013, 3:29 AM
    When I try to print a page, I get no page content: just the menus, breadcrumbs and the footer (starting with Moodle Docs for this page). Tried both chrome and IE, it is the same.

    -Derek
  • Just wondering . . .
    Mon, 4 Mar 2013, 3:37 AM
    @ Ishan, check your category depth setting in Administration. May be the problem.
    @Alan, I cannot find this setting in admin, and the "Turn editor off" does not appear on our sites that use decaf.

    -Derek
  • Just wondering . . .
    Mon, 4 Mar 2013, 3:47 AM
    Final post (Sorry)
    I've just noticed Ishan's post mentioned version 1.7. Is there a way from within Moodle to find the release number?

    -Derek
  • Paul Nicholls
    Mon, 4 Mar 2013, 6:48 AM
    Ishan: I'm not quite sure what you mean. Can you please post more details in one of the Decaf threads in the Themes forum? Screenshots might be helpful to make it clear what the problem is.

    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.
  • Just wondering . . .
    Wed, 6 Mar 2013, 6:45 AM
    Paul, thanks. Re the print problem, I now find this: in some categories, I get faulting in all courses in all pages, ie no printing of the content. If I move the course to other categories, they are fine in some, not in others. I am using Decaf, NO inherited themes. I'll check more. My problem.

    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
  • Mohsen Farahi
    Fri, 15 Mar 2013, 10:58 AM
    Hi Paul,
    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
  • william lau
    Mon, 18 Mar 2013, 10:18 AM
    Sorry for draft. I use http://achecker.ca/checker/index.php to check my testing site it show many img alt missing. Where can i add the alt text?
  • Guido bei der Arbeit
    Wed, 20 Mar 2013, 4:58 AM
    Which is the correct github link?
    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.
  • Paul Nicholls
    Wed, 20 Mar 2013, 5:08 AM
    Sorry, Guido - it was shifted to the latter (https://github.com/CTANZ/moodle-theme_decaf) a few weeks back, but I forgot to update the "source control URL" in this plugin database entry. I've now updated it to the current URL.
  • Ishan Anders
    Mon, 15 Apr 2013, 10:42 PM
    Hi,

    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
  • Just wondering . . .
    Fri, 19 Apr 2013, 6:41 AM
    Looking ahead: will Decaf work with Moodle 2.5? I have just started thinking about this and I posted here: https://moodle.org/mod/forum/discuss.php?d=226962 I'm not reallly sure of what I really want to know or need to know.

    -Derek
Please login to post comments