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.
4549 sites
102 fans
Current versions available: 13

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


Information in:

Powered by:


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 Gabriel Rivadeneira
    Fri, Aug 2, 2019, 4:27 AM
    Hi David, this plugin is great.

    Thank you so much for sharing it.

    I wanted to ask you if maybe you have thought about placing a progress bar for each TAB (section) or SUB-TAB and one of the progress of the whole course, that would be magnificent.

    Thanks for your time
  • Picture of Diego de la Riva
    Wed, Aug 7, 2019, 9:45 PM
    Hi, do you plan to upodate to 3.7 version of moodle?
  • This is a picture of me
    Mon, Aug 26, 2019, 6:10 AM
    Kia ora David,

    I have made a pull request This adds settings to allow for the "index tab" to be styled. It would be most excellent if it could be considered for a merge.

    Ngaa mihi
  • Picture of Cameron Hallowell
    Fri, Sep 6, 2019, 9:11 AM
    Are there any issues using this plugin with 3.7?
  • Picture of Jeremy Virgo
    Fri, Oct 4, 2019, 8:16 AM
    Could I request some way of restricting the page from moving when navigating sections?
    Perhaps auto-generate anchor tags or something.

    Also, this is a long shot, but some way of embedding activities would be amazing.
    My current course has each tab as an assignment, and it would streamline things incredibly if I could just have an activity embedded.
    (iframes don't work for obvious reasons).
  • Picture of Bert van der Hooft
    Sun, Oct 6, 2019, 3:49 PM
    Version 3.7 coming? Would be very nice!
  • Picture of Luis Estupiñan
    Thu, Nov 7, 2019, 4:10 AM
    Saludos, alguna información sobre la versión para 3.7?
  • Picture of Viridiana Omaña Silva
    Thu, Nov 14, 2019, 8:17 AM
    Hello David, I have an error: Onetopic format
    2018010606 2016020501
    Moodle 2015111000
    Additional Higher version already installed! and I can continue with the configuration of moodle. What can I do?
  • que bueno que sabe el café colombiano...
    Sun, Dec 15, 2019, 3:45 PM
    Published a new release compatible with 3.7 and 3.8 moodle version.

    New feature: Added hiddensectionshelp option used to show a help icon into each tab with available section message, if it apply.

  • Picture of Nick Varney
    Wed, Dec 18, 2019, 3:43 PM
    The latest version has changed the look of the tabs considerably with the introduction of a new CSS class (.sectioname). The font size has jumped to 20, the hover behaviour has changed, the tab names have a grey background that doesn't sit well visually. Our users would like to revert back to the previous look. Please could you provide the CSS needed to do this?
  • que bueno que sabe el café colombiano...
    Fri, Dec 20, 2019, 5:06 AM
    Hi Nick...

    I can't check with all themes sad, I check with moodle standard themes (boost and classic), the tabs look good on both.

    The CSS class "sectionname" is not affected by default in moodle (only it is affected for h3.sectionname tag). Maybe, it is a special style in your theme.

    For example, look at Adaptable theme, It set some styles to CSS class "sectionname" like background color but it not use tag h3 reference, only the CSS class name. In order to fix it, you need change the file theme/adaptable/style/course.css line 400 (approx.) changing:
    .sectionname {
    h3.sectionname {

  • Picture of Nick Varney
    Tue, Jan 7, 2020, 7:44 PM
    Thank you so much David. I hadn't thought about it being a clash with a theme. As it turns out we do use Adapatable and so your advice could be put to use directly and the issue is solved.
  • N7
    Tue, Jan 14, 2020, 12:35 AM
    Heads up on the OneTopic format. There is a bug that has recently been tracked

    If a student accesses a course and clicks the section-0 tab in a course with OneTopic format that has highlighted but hidden sections, it gives the error message:

    Sorry, but you do not currently have permissions to do that (View hidden sections).
    More information about this error

    The student cannot navigate any part of the course without logging out and back in. If the student clicks on any section aside from section-0, it will be fine. If section-0 is the first thing clicked, this will result.
    To resolve the issue, you must remove the highlight from any hidden topics. Student users must log out and back in.
    It appears as though something is forcing the focus on the hidden topic to students, but since it is not viewable, this occurs.
  • Picture of Blair F.
    Sat, Feb 1, 2020, 1:42 AM
    I'm not all that familiar with this topic format, but several of my instructors have started using it. Notes from the latest version state, "Added hiddensectionshelp option used to show a help icon with available section message, if it apply." From doing a quick comparison between the previous version and the latest one, I cannot figure out what this means. Is there an image, somewhere, that would explain this? Thanks.
  • que bueno que sabe el café colombiano...
    Sun, Feb 2, 2020, 2:49 AM
    Hi @Blair F.

    First, enable the option "Hidden sections are shown in collapsed form with available message":

    Then, look at the tab bar (with access restrictions):

    Click on information icon and see the restrictions:

    (I need the HTML editor in comments to a best explanation :D :D)

Please login to post comments