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.
5077 sites
109 fans
Moodle 3.3, 3.4, 3.5, 3.6, 3.7, 3.8

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

  • John Provasnik at Moodle Moot US
    Thu, Mar 19, 2020, 4:34 AM
    Wanted to share a helpful Moodle forum conversation regarding this format and the "Topic Summary" :
  • Fra Parlant
    Tue, May 5, 2020, 7:56 PM
    Permalink to sections
    Is there a way to have direct link to sections that don't change each time the sections are reordered or a new subsection is added somewhere?
    Default links refers to the number of the section... which changes when a new supsection is added.

    Thanks for any help
  • que bueno que sabe el café colombiano...
    Wed, May 6, 2020, 3:15 AM
    Hi Francois Parlant...

    The only way possible is with the section number and the position. Not exists an id or something similar to identify the section in the navigation.

  • Fra Parlant
    Mon, May 11, 2020, 8:21 PM
    Hi David,
    Thank you for your answer... this was my fear... I vote for the addition of a "permalink" parameter in section creation.
  • Fra Parlant
    Mon, May 11, 2020, 8:42 PM
    Hi David,
    Just created the improvement proposal for a permalink system in the bug tracker
    Maybe someone will vote / fund this issue smile
  • Picture of Hector Flores
    Wed, May 13, 2020, 10:40 PM
    hi ! it's a great theme! Actually is used by many users !. congratulations!
    Have a question... when you make the visualization mode of section 0 as "before the tabs" and then the user interact with tabs in the course it's load a page but not jump to the level of page where the tabs are located. How can i fix it? moodle 3.6
    thanks in advance!
Please login to post comments