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:
2867 sites
950 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.

If you like the Multitopic format, and use the latest version, please support the project by reporting any bugs you find.

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.)

Acknowledgements

The Multitopic format is based on ideas from several other course formats, and notably includes code copied from:

  • Onetopic format by David Herney Bernal García (including code for displaying tabs, disabling asychronous editing, and managing settings)
  • Periods format by Marina Glancy (code for managing settings)

Several patches have been submitted by Jeremy FitzPatrick, notably including nesting the course index, and supporting drag and drop in Moodle 4.x.

Improvements have also been made possible by all the people who have reported bugs.

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

Kommentare anzeigen
  • Győri Péter
    Mo., 21. Aug. 2023, 21:38
    Thanks James!lächelnd I will try it out as soon as possible.
  • herve boris
    Mi., 23. Aug. 2023, 18:18
    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)
  • herve boris
    Mo., 4. Sept. 2023, 16:10
    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
  • James Calder
    Mo., 4. Sept. 2023, 18:54
    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.
  • herve boris
    Mo., 4. Sept. 2023, 19:04
    WE are using Moodle Version 4.1.5 build 20230814
  • James Calder
    So., 10. Sept. 2023, 18:31
    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.
  • Blair F.
    Mi., 15. Nov. 2023, 08:01
    It would be nice if there was an option not to include the summary image at the top of the course page. We include it so that it appears on a student Dashboard and My Courses page and it's sized to look good there. This sizing doesn't work well with the top of the course page. I thought maybe choosing 0% would remove it, but I discovered that that's not how that setting works.
  • James Calder
    Di., 21. Nov. 2023, 10:20
    Hi Blair,

    Although there's no option for this, you could disable it site-wide with some CSS. You could put the following in Site admin > Appearance > Additional HTML > Within HEAD. Replace curly brackets with angled brackets (I don't think I can type angled brackets in the comments). And be careful to get it right. I just found out it's possible to lock up a Moodle server if the style tag isn't closed properly.

    {style}
    body.format-multitopic .page-header-headings {
    display: block !important;
    }
    body.format-multitopic #course-header {
    display: none;
    }
    body.format-multitopic#page-course-edit #fitem_id_bannerslice {
    display: none;
    }
    {/style}
  • Garvin Sohns
    Di., 23. Jan. 2024, 22:18
    Hi,
    we use the Plugin and it works well.
    Now we have a teacher, he aks to increase the Numbetrs of Multitopic on each site, over 99.
    Is it possible? Wen yes, where?
    Thanks
  • James Calder
    Mi., 24. Jan. 2024, 12:03
    Hi Garvin,
    I'm not sure I know what you mean, but if you're talking about the maximum number of sections in a course, a Moodle administrator can change this under Site admin > Courses > Course default settings > Course format > Maximum number of sections. However setting this over 78 may mean that collapsing sections and items in the course index may fail to work if too many things are collapsed. See https://tracker.moodle.org/browse/MDL-78073
  • Guido Roessling
    Di., 23. Apr. 2024, 16:43
    Hi,
    I have a problem with the "old" plugin version and Moodle 4.4. Moodle will not let me install the RC1 version because "it is already installed".
    The problem is that if the course is opened or one is in a different topic than section 0, the link to section 0 does not contain the section ID, but only the course ID - and then tries to access this (empty) position in class content. Thus, the first section is not shown and the entire course is not displayed. Sigh.
    I already submitted a ticket.
  • James Calder
    Do., 25. Apr. 2024, 10:19
    For anyone else interested in the above issue, discussion continued here: https://github.com/james-cnz/moodle-format_multitopic/issues/43
  • Kit D
    Mi., 15. Mai 2024, 08:04
    Hi James, really nice and tidy course format! Is there a way to enable next/previous activity links/buttons? Many thanks!
  • James Calder
    Mi., 15. Mai 2024, 08:34
    Hi Kit,

    Thanks. Activity navigation (if any) is added by a Moodle theme, but the Multitopic format uses CSS to hide it. If the Moodle theme you're using supports activity navigation, you should be able to unhide it by overriding the CSS. You could put this in Site admin > Appearance > Additional HTML > Within HEAD, within an HTML style tag. Be careful to close the style tag correctly, as not doing so could lock you out of the Moodle server.

    For Moodle 4.x, this CSS should work:

    body.format-multitopic.path-mod.pagelayout-incourse #page #page-content .activity-navigation {
    display: block !important;
    }

    For Moodle 3.x, this CSS may be needed instead:

    body.format-multitopic.path-mod.pagelayout-incourse #page #page-content [role='main'] + .m-t-2.m-b-1,
    body.format-multitopic.path-mod.pagelayout-incourse #page #page-content .activity-navigation {
    display: block !important;
    }
  • Kit D
    Mi., 15. Mai 2024, 11:33
    Hi James,
    Thank you for such a speedy response! That worked a treat and looks great! Thanks for your help - really loving the format!
1 2 3 4 5
Please login to post comments