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. If you like the Multitopic format, and use the latest version, please support the project by reporting any bugs you find.
Latest release:
2931 sites
999 downloads
95 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
  • Optionally timed topics (like Weekly format)
  • Course banner image (like Snap theme)

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. For Moodle 3.x version, 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

Comments

  • herve boris
    Fri, 2 Sept 2022, 5:23 PM
    Hello everyone, I've been using the plugin for 3 months but I have a problem with the display. When I paste the image into course image, it works fine. I have the problem that the course image (banner) is no longer displayed correctly. Moodle Version 3.11.8 (Build:20220711)
  • James Calder
    Fri, 2 Sept 2022, 6:55 PM
    Hi Hernan and Herve,
    Sorry, I'm not sure what you mean. Could you try attaching screenshots? I'm not sure how well attaching images works in this forum though. If the image doesn't show up, maybe try in the forum under Useful links > Discussion, near the top of the page.
  • P H
    Mon, 19 Dec 2022, 8:29 PM
    Hello,
    A very interesting plugin. Kudos!
    Will a Moodle 4.1 be released soon?
    Regards
  • James Calder
    Tue, 20 Dec 2022, 6:08 PM
    Hi P H,
    I've tested against Moodle 4.1, and haven't found anything that needs changing. I might release a version tomorrow that lists 4.1 support, if I don't have too much other work to do, but it won't be any different.
  • P H
    Mon, 26 Dec 2022, 7:12 PM
    I understand. When you have time. Happy holidays!
  • B. M.
    Mon, 6 Feb 2023, 5:26 PM
    Hello. Nice plugin. A couple of thoughts: It would be nice to be able to disable the banner/image. To toggle it on and off - not just set percentages. Also - it doesn't seem to remember if a topic is collapsed or opened, when exiting and reentering the course, which would be nice.
  • James Calder
    Fri, 10 Feb 2023, 12:04 PM
    Hi B. M.,

    Re remembering if a topic is collapsed or open, Multitopic for Moodle 3.x doesn't do this, but collapse/expand in Multitopic for Moodle 4.x is based on the Moodle 4.x collapse/expand code, and should remember the state. There do seem to be some issues with it though. Collapsing doesn't always work in a large course, which is related to MDL-46739. Collapse state also seems to be forgotten some times, and I suspect this is also an issue with the underlying Moodle code.

    Re disabling the banner image, I usually only add features that are useful to my employer. I've asked my supervisor about this, and she doesn't think it's something we really need. Since it shouldn't be too difficult to do, she's said I could look at this if I have spare time, but this probably wouldn't be any time soon.
  • Joakim Mossberg
    Thu, 27 Apr 2023, 6:05 PM
    Hi James!

    Very useful plugin thanks, but can you please fix the Course Header Text? Its to small compare to the original Collapsed Topics Header.

    Best Regards
    Joakim
  • James Calder
    Thu, 27 Apr 2023, 6:53 PM
    Hi Joakim,

    Thanks for your feedback. We customise the CSS at my organisation, and I had been expecting others to do this too, but it should probably just work out of the box without the need for custom CSS. Someone else raised this recently on GitHub, and I do intend to fix it in the next version. I probably won't change it for Moodle 3.x, since this is being phased out anyway, but it's definitely on the agenda for Moodle 4.x.

    Cheers,
    James
  • Joakim Mossberg
    Thu, 27 Apr 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
  • James Calder
    Fri, 28 Apr 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]
  • Győri Péter
    Fri, 14 July 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
  • James Calder
    Fri, 14 July 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.
  • Nolan Damon
    Thu, 27 July 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.
  • James Calder
    Thu, 27 July 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;
    }
Please login to post comments