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:
3156 sites
1k downloads
98 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

Show comments
  • James Calder
    Fri, Jun 14, 2024, 11:30 AM
    Sorry, no. The course just appears as normal in the Moodle app. I don't know how to change that.
  • Marc F
    Tue, Jun 18, 2024, 8:09 PM
    Hi James, thank you for your quick and clear reply.
  • Eduardo Montoya
    Wed, Jul 10, 2024, 2:12 AM
    Hello, James. I have a problem with the plugin. I Have a Moodle version 4.4, and plugin version 2024062701. When I activate edition, the tabs cannot be edited or even renamed (the three dots menu don't appear for them, neither). The menu option only works for section 0 and for the activities/resources wihtin the sections (tabs). Can you give me any advice about what can be happening?
  • James Calder
    Wed, Jul 10, 2024, 12:31 PM
    Hi Eduardo,
    Sorry, I don't remember having come across this before. Could you temporarily turn on debugging messages on the Moodle server, and see if anything shows up? This is under Site admin > Development > Debugging. Set Debug messages to DEVELOPER and Display debug messages ticked. Otherwise, if you private message me a login with access to a Moodle sandpit, and it turns out to be a CSS issue, I might be able to troubleshoot it.
  • Mohammad F. Amayreh F. Am
    Wed, Aug 14, 2024, 7:05 PM
    Hi james, the plugin is great and very helpful but is there any option to turn off the banner slice in the settings? I don't want to use the course image for this and the appearance looks weird if a toggle or a checkbox can be add to deactivate it i would be thankful or if you have any temporarily solution
  • Osama N
    Thu, Sep 5, 2024, 5:58 AM
    Hi Jams, thanks for this great plugin. Is it applicable to duplicate page(tab) with its content?
  • James Calder
    Thu, Sep 5, 2024, 6:44 PM
    Hi Osama,
    Sorry, there's no function to duplicate a whole page. Functions that apply to whole pages require custom code, which may break and need to be fixed when new versions of Moodle are released, so I've just stuck to the minimum--hiding/showing and moving.
  • James Calder
    Thu, Sep 5, 2024, 6:50 PM
    Hi Mohammad,
    Sorry, I missed your post. There's no option for this, but you can revert it with some CSS. It's in the docs:
    https://github.com/james-cnz/moodle-format_multitopic/wiki
    on the page Plugin (for administrators)
  • Renato de Brito
    Sat, Sep 7, 2024, 3:30 AM
    Hello!
    I'm using this course format in a project. He's great! But I need to know how I can remove the text that appears just below the top image.
    Example: image files by.....
  • James Calder
    Sat, Sep 7, 2024, 7:30 AM
    Hi Renato,
    You should be able to remove the banner attribution site-wide with some CSS. It could go under Site admin > Appearance > Additional HTML > Within HEAD, inside some opening and closing HTML style tags, and would be something like this:
    body.format-multitopic #course-header #course-header-banner_attribution {
    display: none;
    }
    If you do put the CSS in the Within HEAD field, be careful to correctly close the HTML style tag, as an unclosed HTML tag in this field may cause the Moodle site to become inaccessible.
  • Renato de Brito
    Tue, Sep 10, 2024, 4:29 AM
    Hi James!
    Right! I coded exactly but I didn't get the expected result. Should I include the code somewhere else?
    Thank you very much for the tip!

    Renato
  • James Calder
    Tue, Sep 10, 2024, 5:56 AM
    Hi Renato,
    You could instead try putting it in your theme settings. In Moodle 4.x at least, it could go under:
    Site admin > Appearance > Themes > [settings for the theme you use] > Advanced settings > Raw SCSS
    (I don't have access to a Moodle 3.x server at the moment to see if it has the same option in the same place.)
  • Sourav Chauhan
    Mon, Dec 16, 2024, 8:57 PM
    Hi James ,
    found a bug like have added more then 7 topics in which the last 2 are only visible when the 3rd last is clicked . how can i resolve it
  • James Calder
    Tue, Dec 17, 2024, 5:14 AM
    Hi Sourav,
    Sorry, there's not much I can do, unless I can see the issue. Are you able to e-mail me a backup of the course, with instructions for replicating the issue?
    My e-mail address is jeg@cloudy.kiwi.nz .
  • Sourav Chauhan
    Tue, Dec 17, 2024, 1:44 PM
    Hi james ,
    It's been resolved .It was due to my local plugin issue .
    thnks for the response
1 2 3 4 5 6 7
Please login to post comments