Multitopic format

Course formats ::: format_multitopic
Maintained by James Calder
Shows multiple topics per page, with tabbed navigation between pages. Topics are collapsible, and can optionally be timed.
Latest release:
2834 sites
1k downloads
87 fans
Current versions available: 2

Shows multiple topics per page, with tabbed navigation between pages. Topics are collapsible, and can optionally be timed.

Developed at Otago Polytechnic

Features

  • Tabbed pages (like Onetopic format)
  • Multiple topics per page (a bit like Flexible Sections format)
  • Collapsible topics (like Collapsed Topics format)
  • Optionally timed topics (like Weekly format)
  • Course banner image (like Snap theme)
  • Section images (a bit like Grid format)

Install

  1. Copy files to moodle/course/format/multitopic
  2. Log in as an admin, and visit moodle/admin/index.php, to update plugin data
  3. Site administration > Appearance > Additional HTML > Within HEAD (or other location appropriate for CSS): Copy and paste styles from README_styles.css (customising appropriately)
  4. Site administration > Appearance > Themes > Theme settings > Allow category themes: Yes (if you want categories to have custom CSS)

Video walkthrough

(You will probably need to open the video full screen to see it properly. Also it is a bit outdated, because topic collapsibility now has its own setting, and is no longer tied to the topic duration setting.)

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

James Calder (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Thu, Apr 27, 2023, 7:50 PM
    Hi James!

    I am relatively new to Moodle configurations so could you please give me a hint where to edit this Header css parameter I would be more than grateful.

    Can also tell you that when I showed this superb plugin to some teachers they were very impressed, but the header size was a little annoying.

    smile

    Cheers
    Joakim
  • Fri, Apr 28, 2023, 9:06 AM
    Hi Joakim,

    Custom CSS can be pasted into the setting Site admin > Appearance > Additional HTML > Within HEAD. The following code should make the course header look right. Replace square brackets with angled brackets. (I don't think the comments allow angled brackets.)

    [style]
    /* Multitopic course header */
    body.format-multitopic #course-header {
    width: 100%;
    }
    body.format-multitopic div#course-header > div#course-header-banner {
    background-size: cover;
    }
    body.format-multitopic div#course-header > div#course-header-banner > div#course-header-banner-text {
    font-size: 1.875rem;
    font-weight: 700;
    padding: 1em;
    background: rgba(255, 255, 255, 0.5);
    }
    body.format-multitopic div#course-header > p#course-header-banner_attribution {
    text-align: right;
    margin: 0;
    font-size: xx-small;
    }
    [/style]
  • Fri, Jul 14, 2023, 2:01 PM
    Hi! I installed the new 4.2 moodle to get back the indentation, but they coded it into the course format, so if I use multitopic, i can't use it. Is it possible to integrate it in your module?
    Thanks,
    Peter
  • Fri, Jul 14, 2023, 6:41 PM
    Hi Peter,

    I didn't notice that Moodle 4.2 brought indentation back, thanks for pointing this out. (I've done some testing on Moodle 4.2, but we mainly use 4.1.) If I remember right, it's a simple change. I suspect it would probably have the unfortunate effect of suddenly re-indenting everything that was previously indented, while anything that was added while indenting was disabled wouldn't match, though. Perhaps I could set it to re-enable indentation for Moodle 4.2+ only, so the change happens for most people (besides those who have already upgraded) at the Moodle upgrade. I'll talk to my supervisor about it.
  • Thu, Jul 27, 2023, 3:09 AM
    Hi, thank you for this awesome plugin. It's really a lifesaver. I am having an issue though. I use the Alpha premium Moodle theme v 4.0.9 with the latest version of the Multitopic Course format plugin installed. The problem that I have is it duplicates my Course title. When I set it back to Topic Format, It works 100%. How can I fix this? Thanks.
  • Thu, Jul 27, 2023, 5:25 AM
    Hi Nolan,
    It doesn't look like this is a free theme, so I can't install it on my Moodle test server. I've had a play with the online demo, and I think the following CSS should work. You could put it in Site admin > Appearance > Additional HTML > Within HEAD, wrapped in an HTML style tag:
    body.format-multitopic:not([class*=" cmid-"]) .page-header-content > h2.rui-page-title {
    display: none;
    }
  • Thu, Jul 27, 2023, 8:21 PM
    Hi James. Thank you, I will try it and get back to you. Once again, thank you.
  • Fri, Jul 28, 2023, 3:21 AM
    Hi James. It worked 100%. Thank you so much!!!!
  • Sat, Jul 29, 2023, 11:27 AM
    Hi Peter,

    The latest version of the Multitopic format should support activity indentation. I've left it as a "release candidate" for now, because there are some issues with code validation. I think it's the code checker being unnecessarily strict, and it relates to included Moodle code, so it isn't something I can change. I've filed a Moodle issue about it here: https://tracker.moodle.org/browse/MDLSITE-7329 . In any case, I don't think it will cause any real problems.
  • Mon, Aug 21, 2023, 9:38 PM
    Thanks James!smile I will try it out as soon as possible.
  • Wed, Aug 23, 2023, 6:18 PM
    Hallo everyone,

    Since Last week WE have Switched to Moodle 4.1.4 + build 20230616. WE have old courtesy where WE usw the multitopic Format.
    Section can No longer be collapsed/expanded
    Multitopic: v4.2.1(2023051701)
  • Mon, Sep 4, 2023, 4:10 PM
    Hallo everyone,

    Since Last week WE have Switched to Moodle 4.1.4 + build 20230616. WE have old courtesy where WE usw the multitopic Format.
    Section can No longer be collapsed/expanded
    Multitopic: v4.2.1(2023051701). How can i solve this issue
  • Mon, Sep 4, 2023, 6:54 PM
    Hi Herve,
    Sorry, I saw this message when you posted it, then completely forgot about it. I don't know what the issue could be. I think we were using Multitopic v4.2.1 on Moodle 4.1.4 without problems. (Although it looks like we're using Moodle 4.1.5 now.) Has anything else about your Moodle server changed recently, like any new plugins? Maybe if you set me up a guest account with access to a Multitopic sandpit (student role should be fine), and message me the login details, I could have a look, and see if I can figure it out.
  • Mon, Sep 4, 2023, 7:04 PM
    WE are using Moodle Version 4.1.5 build 20230814
  • Sun, Sep 10, 2023, 6:31 PM
    For others' information, the above issue (sections not collapsing in Moodle 4.x) looks like it was caused by old CSS that was needed for Multitopic for Moodle 3.x. This may be under Site admin > Appearance > Additional HTML > Within HEAD. Since Multitopic v4.2.0, It should be OK to delete any CSS related to the Multitopic format, as needed CSS is built in now.
1 2 3 4 5
Please login to post comments