Grid Format

Course formats ::: format_grid
Maintained by Gareth J BarnardGareth J Barnard
A modular and visual course format. Hides all topics and creates a grid of icons (one for each topic) with short titles. Clicking on an icon brings up the content from the corresponding topic.
Latest release:
7239 sites
3k downloads
182 fans
Current versions available: 25

A modular and visual course format. Hides all topics and creates a grid of icons (one for each topic) with short titles. Clicking on an icon brings up the content from the corresponding topic in a "lightbox" style display.

Support:

The format comes with NO support.  Please see the 'Support' section in 'Readme.md' file that comes with the format.  This is because the format is complex and I regret that I don't have the time / resources to freely assist with questions pertaining to specific enhancements / changes / knowledge improvement.

I will investigate genuine bugs and issue fixes in a timescale set by myself.  When reporting issues you MUST clearly state the full version and release of both Moodle and the Grid format format as contained within their 'version.php' files - if not it takes me longer to figure out, often resulting in me asking for the details anyway and slowing the process of solving your problem down.  It really helps to upload and describe in detail the issue you are having on the 'Course formats' forum.

Screen cast:


More to follow as new icons have been added....

Privacy API support starts with V3.3.0.5 for M3.3 and V3.4.0.4 for M3.4 where the API has been implemented in the minor release of Moodle.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Gareth J Barnard
Gareth J Barnard (Lead maintainer): Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Gareth J Barnard
    Fri, 4 Apr 2014, 11:38 PM
    Hi Gideon,

    For 1, the CSS selector should be '.gridicons .icon_content' for styling the text if on M2.6.1.5.
    For 2 = very difficult if not currently almost impossible, please see: https://moodle.org/mod/forum/discuss.php?d=252404.

    Cheers,

    Gareth
  • William Scott
    Mon, 12 May 2014, 2:52 PM
    Hi,
    I am using Grid with the Essential theme and I have some topics that have long names. How can I get this to work so it looks neat?

    I've done the following in styles.css:
    .course-content ul.gridicons li p.icon_content {
    font-weight: bold;
    margin: 0;
    white-space: normal;
    overflow: visible;
    height: 35pt;
    text-align: center;

    However, the text is located at the top, and I want it to be aligned bottom (so that the 2nd line of next is where the first line would be if it wasnt wrapped - if that makes sense).

    So:
    Blank
    Text
    -Image-
    vs.
    Text
    Text
    -Image-

    Any help would be great. Thanks.
    - Will
  • Chris Chapman
    Mon, 12 May 2014, 4:23 PM
    I second, Will's post- I am in the same boat and applied a similar work-around for the time being, but aligned bottom would be nice in case titles are longer still to accomodate a possible third line.
  • Gareth J Barnard
    Mon, 12 May 2014, 11:08 PM
    Hi Will and Chris,

    What version of the format are you using? And don't you mean you want:

    Blank
    Image
    Text

    given your description?

    Please could you post details on: https://moodle.org/mod/forum/view.php?id=47.

    Cheers,

    Gareth
  • Chris Chapman
    Mon, 12 May 2014, 11:42 PM
    Cheers Gareth, I appreciate your time on this.
    https://moodle.org/mod/forum/discuss.php?d=259954
  • Madhuri Rathod
    Thu, 22 May 2014, 2:35 PM
    I am using moodle 2.5.6+ (Build: 20140515) .and I am using plugin // Plugin version.
    $plugin->version = 2013110507;

    // Required Moodle version.
    $plugin->requires = 2013051400.00; // 2.5 (Build: 20130514).
    but its not working its giving some database error for the course
  • Gareth J Barnard
    Thu, 22 May 2014, 11:49 PM
    Hi Madhuri,

    I see that you have posted here: https://moodle.org/mod/forum/discuss.php?d=260607 so will continue to help you there.

    Cheers,

    Gareth
  • Jason Allshorn
    Sat, 21 June 2014, 7:44 AM
    Please can you help. I'm still a beginner at coding.
    I love this format and I'm designing Moodle for little Kiddies.
    I'd like to make the grid boxes transparent.
    I'd like to do this in order to use the .png images (with alpha layers) as buttons over a kid friendly back ground picture.

    I can code a little and as I understand it, the user settings force the boxes to be a certain #FFFFF type of color.

    Is there a way to use the CSS 'transparent' option?

    Is there a way to cut out the grid box color settings totally?
  • Gareth J Barnard
    Sat, 21 June 2014, 9:03 PM
    Hi Jason,

    Assuming M2.7. To remove the grid icon image container colour setting, remove this code: https://github.com/gjb2048/moodle-courseformat_grid/blob/MOODLE_27/format.php#L84-L89 and set the background within: https://github.com/gjb2048/moodle-courseformat_grid/blob/MOODLE_27/styles.css#L132-L141 and then do a purge all caches.

    Cheers,

    Gareth
  • Davíð Baldursson
    Thu, 26 June 2014, 6:51 PM
    Hi Gareth and thank you for this great plugin.
    I was just wondering where I can change where the box appears when you click on section. Right now it appears at the top but I would like it to appear a little lower. Right now it is 50px from the top but i would like it to be about 250px from the top. I found out that the CSS setting is in something called element.style but I am unable to find it anywhere to change it.

    Regards
    Davíð
  • Gareth J Barnard
    Thu, 26 June 2014, 6:57 PM
    Hi Davíð,

    Change this line: https://github.com/gjb2048/moodle-courseformat_grid/blob/MOODLE_27/module.js#L340 - then do a 'Purge all caches'.

    Cheers,

    Gareth
  • Davíð Baldursson
    Thu, 26 June 2014, 7:17 PM
    Perfect, this will make some teachers very happy at my school.

    Thank you

    Cheers,
    Davíð
  • Loïc Plé
    Tue, 19 Aug 2014, 7:59 PM
    Hi,

    Could not find the info in the comments, so I wanted to ask: how does this work on mobile devices? Is it OK on smartphones, for instance? We have implemented a responsive interface for our Moodle, but before testing this module which really looks great (and thanks for this!), I'd need to know whether the display remains good on smartphones / tablets.

    Many thanks in advance for your answer smile
  • Gareth J Barnard
    Tue, 19 Aug 2014, 8:12 PM
    Hi Loïc Plé,

    On responsive themes, the grid just compacts down to a single column and the shadebox adjusts accordingly on small smart devices. Download the format and try it on a test server smile

    Cheers,

    Gareth
  • Loïc Plé
    Wed, 20 Aug 2014, 9:03 PM
    Hi Gareth,
    Many thanks for your answer. I'll ask my moodle admin to install it will try it! smile
    Thanks again for this grid plug-in smile

    Loïc
Please login to post comments