Moodle plugins directory: Multitopic format | Moodle.org
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
- Copy files to moodle/course/format/multitopic
- Log in as an admin, and visit moodle/admin/index.php, to update plugin data
- 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)
- 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.)
Contributors
James Calder (Lead maintainer)
Please login to view contributors details and/or to contact them
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.
A very interesting plugin. Kudos!
Will a Moodle 4.1 be released soon?
Regards
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.
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.
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
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
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.
Cheers
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]
Thanks,
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.
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;
}