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:
3320 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

Mostrar comentários
  • Eduardo Montoya
    quarta, 10 de jul. de 2024 às 02:12
    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
    quarta, 10 de jul. de 2024 às 12:31
    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
    quarta, 14 de ago. de 2024 às 19:05
    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
    quinta, 5 de set. de 2024 às 05:58
    Hi Jams, thanks for this great plugin. Is it applicable to duplicate page(tab) with its content?
  • James Calder
    quinta, 5 de set. de 2024 às 18:44
    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
    quinta, 5 de set. de 2024 às 18:50
    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
    sábado, 7 de set. de 2024 às 03:30
    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
    sábado, 7 de set. de 2024 às 07:30
    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
    terça, 10 de set. de 2024 às 04:29
    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
    terça, 10 de set. de 2024 às 05:56
    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
    segunda, 16 de dez. de 2024 às 20:57
    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
    terça, 17 de dez. de 2024 às 05:14
    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
    terça, 17 de dez. de 2024 às 13:44
    Hi james ,
    It's been resolved .It was due to my local plugin issue .
    thnks for the response
  • Pawel Gadalinski
    terça, 21 de jan. de 2025 às 20:58
    hello,
    define role-> permisssion

    witch setting allows you to edit the tab name in the course ??

    when i login as aadministrator i can edit, when i logged as editingteacher i cannot ( dont see edit button)

    ?
  • James Calder
    quarta, 22 de jan. de 2025 às 10:40
    Hi Pawel,
    I think the permission you need is Update course settings (moodle/course:update).
1 2 3 4 5 6 7
Please login to post comments