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.
4773 sites
92 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
  • que bueno que sabe el café colombiano...
    Mon, Aug 13, 2018, 3:56 AM
    Hi Craig...

    That issue was fixed in Moodle 2.7+. Which is your Moodle version?

    Set course parameter "Hidden sections" to "Hidden sections are completely invisible" in order to hide tabs completely.


  • Picture of Craig Mohr
    Wed, Aug 15, 2018, 2:48 AM
    We are running 3.5
    It turned out to be an issue with the child tabs of hidden parent tabs. I believe it is all good now.
    Thank you!!
  • Picture of Kiran Derle
    Sat, Oct 13, 2018, 12:18 AM
    How can I add Parent Tab? I have just downloaded this plugin. Looks great. I have few sections under 4 different groups. Cant get it.
  • que bueno que sabe el café colombiano...
    Fri, Oct 19, 2018, 2:15 AM
    You can add child tabs changing the section configuration. Set "Level" option to "Child of previous tab".
    The child section need be to right to the parent section.

    Note: only have one secondary level.

  • Picture of Juan Del Valle Vazquez
    Wed, Nov 21, 2018, 7:57 PM
    Hello David,

    I turn on the debugging mode trying to fix another issue that I have, and one of the errors that appear on the error log is this:

    PHP Warning: count(): Parameter must be an array or an object that implements Countable in moodlepath\course\format\onetopic\renderer.php on line 395

    Windows 2012 Server
    mariadb 10.3
    Moodle 3.5.1+ (Build: 20180824)
    Theme Moove 2.3.8
    PHP 7.2.9

    Juan Del Valle
  • Love Skating!
    Fri, Nov 30, 2018, 11:30 PM
    Hi We are using the OneTopic version 2016071402 on our current moodle platform and have just had our test moodle upgraded and the plugin upgraded to 2018010604 (San Juan), is there a way we can add the number of sections back in as it is going to cause us a lot of problems as it has hidden the subpage orphaned topics, the topics are visible on the page to the learners but the resources are not. When the learners now click on a subpage they cannot see the resources as the topics are hidden. In previous versions of the OneTopic course format and subpage plugin we were able to view only the main topic pages and still view the content of the subpage. Now we will only be able to view the subpage content if all the topics are visible. Are we able to add the number of sections option back into the OneTopic Course Format? I hope this makes sense. Kind Regards, Belinda
  • que bueno que sabe el café colombiano...
    Sat, Dec 1, 2018, 2:20 AM
    Hi Melinda...

    It is a Moodle core feature, It was changed in the last versions and I pretend keep the format structure similar to the core.

    However, It should not be a problem for you, You can change the resources to "Available but not visible" for students, not?.

  • Picture of Henry Patz
    Tue, Dec 4, 2018, 2:52 PM
    Hello David, the debugging message, Juan mentioned, is the same here. It's not depending on a theme, it appears in old and new OneTopic-Courses.
    Thanks for having a look.
  • This is a picture of me
    Wed, Jan 23, 2019, 11:23 AM
    Hi David,

    Would it be any hassle adding a new minor version update to include PR #50
  • que bueno que sabe el café colombiano...
    Wed, Feb 20, 2019, 6:28 AM
    Published a new version compatible with 3.3, 3.4, 3.5 and 3.6 moodle version.

    Current version fix some reported issues by @Juan Del Valle Vazquez and others.

  • Picture of HFU Tech Support
    Thu, Feb 28, 2019, 3:47 AM
    Hi David Herney Bernal,

    I have installed onetopic course format in a Moodle 3.6 version. I like how the tabs look. How can I move a resource from one tab to another? In example, move an assignment located in section/week three to seven. It only allows me to move the resource within the same tab.

    Thanks in advance!
  • que bueno que sabe el café colombiano...
    Thu, Feb 28, 2019, 5:34 AM
    Hi @HFU Tech Support...

    In order to move a resource:

    1. Select "Disable/enable asynchronous edit functions"
    2. Select the horizontal arrows icon of the resource
    3. Go to the target tab
    4. Click on new position

    Other way:
    1. Use the "Section 0" over the Tabs (course format settings)
    2. Move the resource to the "Section 0"
    3. Go to the target tab
    4. Move the resource to the new position

  • Picture of HFU Tech Support
    Thu, Feb 28, 2019, 10:36 PM
    Saludos David,

    Muchas gracias por su pronta respuesta. Me pregunto del porque no me percaté antes de ese pequeño detalle. Me encanta cómo se ven los cursos con este formato. ¡Un abrazo!
  • Picture of Laura Rocha
    Fri, May 17, 2019, 9:03 PM
    Hello David, how are you?

    I need to add more tabs, is there any way to do this?
  • que bueno que sabe el café colombiano...
    Sat, May 18, 2019, 5:36 AM
    Hi Laura...

    What moodle version you use?
    You can use the plus sign in the right of tabs visible when the course is in edition mode.

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