Course formats: Onetopic format

Maintained by que bueno que sabe el café colombiano... David Herney Bernal
Format to course that allows showing each topic in a tab, keeping the current tab between calls to resources, in such a way that when it returns from a module as the blog or the glossary it returns to tab from where you started. This format is based on the Moodle standard format: “Topics”. It accepts edition by AJAX.
3725 sites
71 fans

Developed by: David Herney Bernal García - davidherney at gmail dot com


Information in:


Screenshot #0
Screenshot #1
Screenshot #2


que bueno que sabe el café colombiano...
David Herney Bernal (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Denise Snyder
    Wed, 17 Jan 2018, 2:44 AM
    It appears that if a person selects the One Topic format, the edit link for the tab gets disabled if you add a table to the section's Summary box and the tab's visibility is set to "hide". If you change the format to another format, like Collapsed Topics, the edit link is clickable again and you can edit the section. However, once you go back to One Topic, the edit link is no longer "clickable" anymore when the tab is hidden. My hope that this is a minor bug and can be easily fixed in a future update.
    Thank you,
  • que bueno que sabe el café colombiano...
    Wed, 17 Jan 2018, 12:10 PM
    Hi Denise...

    I couldn't reproduce the error. Maybe, you did paste a table with html errors, could be?

    Can you send more information? Moodle and Onetopic versión, print screens or something else. You can use the official issues page:


  • Picture of Yvonne Hamilton
    Fri, 26 Jan 2018, 8:36 AM
    San Jaun is working all OK with our Moodle v3.3.4+ and with Essential v3.3.1.2
    The only issue (which has been the same through many versions) is when making a tab the child of a previous tab there is an option to input the "text of the first tab in sublevel". It never works for me as it always defaults to "Index" even if I add in different text but its easy to edit the section title.
  • que bueno que sabe el café colombiano...
    Fri, 26 Jan 2018, 3:01 PM
    Hi Yvonne...

    It is not a bug. The name to the first tab (index) is seted in parent tab, not in child tab.

  • Picture of fabien paquereau
    Tue, 13 Feb 2018, 9:47 PM

    Do you konow when is the version for moodle 3.4 coming ?

    Thanks you very much !!
  • Picture of Craig Mohr
    Thu, 12 Apr 2018, 4:23 AM
    Consider this structure:
    Parent tab 1
    child tab 1
    child tab 2
    Parent tab 2
    Child tab 3
    After this is all setup, is it possible to add another child tab under parent tab 1 without undoing the structure?

    Right now, I am changing back to topic format. Getting tabs all in right order, adding block after child tab 2, going back to onetopic format, then going in and changing all child tabs back into child tabs.
    Not a big deal with two parent tabs and three/four child tabs. Inconvenient with 10 parents and 30 child tabs.

    Great format!
  • que bueno que sabe el café colombiano...
    Thu, 12 Apr 2018, 5:44 AM
    Hi Craig,

    you can add a new tab, move it after to the tab 1 and set it as child. You don't need change between formats.

    Note: To move a tab, you can use the features in page bottom when the edition mode is active.

  • Picture of Wendy Hesta
    Fri, 13 Apr 2018, 3:57 PM
    Hi there, I am wondering how I can let one topic look great on mobile. On mobile the child tabs just appear as normal parent subjects. Hope you can help me out.
  • que bueno que sabe el café colombiano...
    Sat, 14 Apr 2018, 12:27 AM
    Hi Wendy...

    You can use CSS selectors and set special styles in your theme. The child tabs are the seconds in the container ".single-section.onetopic". Use something like that to indent the child tabs or you can change the color or whatever you wish:

    @media (max-width:480px) {
    .single-section.onetopic .nav.nav-tabs:nth-child(2) {
    margin-left: 20px;

  • Picture of Tim Bahula
    Fri, 27 Apr 2018, 1:52 AM
    We just started using Onetopic and noticed today that a new course with the Onetopic course format does not have an Announcements/News forum. Announcement forums are a standard part of our course layout. Is it possible to add this feature? Or must we workaround by creating the course in another format and switching it to Onetopic?

    beunavista (2016071402) release on Moodle 3.1.9 (Build: 20171113)

    Wait... the readme says:
    Course format supports the creation of a news forum.

    What am I missing? Where should I see that option?
  • que bueno que sabe el café colombiano...
    Fri, 27 Apr 2018, 3:04 AM
    Hi Tim...

    The Onetopic support the news forum but in old Moodle versions you need add the block "Latest announcements" in order to create it forum.

  • Picture of Tim Bahula
    Sat, 28 Apr 2018, 12:05 AM
    Muchas gracias, David.
  • Picture of Per Hessellund
    Mon, 4 Jun 2018, 5:52 PM
    We have been using OneTopic the past five years, and are now upgrading to 3.5. Is there a version for 3.5?
    BR. Per
  • Picture of Marc Segarra
    Sat, 9 Jun 2018, 5:44 PM
    Hello David,

    Can we know when version 3.4 for Moodle will be released?

    Thank you very much!
  • Picture of Kristbjorg Olsen
    Wed, 13 Jun 2018, 10:17 PM
    Hello David,

    Is the version for moodle 3.4 coming soon?

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Please login to post comments