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.
6626 sites
121 fans
Current versions available: 14

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


  • 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!
  • Fra Parlant
    Sun, Jun 14, 2020, 3:24 PM
    LINK TO SECTIONID instead of section number
    Hi David,

    James C answered on github with a nice trick for the links to sections not getting mixed up when a new sub section is added:
  • Picture of Otaku Dude
    Fri, Jul 17, 2020, 11:01 PM

    I couldn't get the latest version to work with 3.9. After clicking Upgrade Moodle Database Now, I get the Upgrading to new version page but it just hangs. I have to delete the onetopic folder to get control of Moodle back. I have since tried the previous version 2016071402 and it seems to work fine. Thanks.
  • Picture of Tim Bahula
    Wed, Aug 5, 2020, 2:20 AM
    Version san juan (2018010608) is mainly working for us on Moodle 3.9. There was a course using the format which yielded repeated "invalid parameter" errors. These seemed to go away after switching to another format.
  • Picture of Eithel González Rojas
    Fri, Aug 14, 2020, 1:26 AM
    Hi, its possible if this plugin upgrade to 3.9 version?. Regards!
  • Picture of Per Hessellund
    Thu, Sep 24, 2020, 2:44 PM
    I'm using OneTopic on Moodle 3.5.
    Is there a way to move an activity from one topic to another without changing course format?
    Best regards Per
  • Peter Jonker
    Thu, Sep 24, 2020, 3:55 PM
    Hi Per, use the Tab Edition Utilities which is below your sections. On Asynchronous edit actions choose Disable. In that mode you will get arrow icons in front of all your activities. Click the one you want to move after which you get areas to drop to (within sections of to other sections) drop your activity and Enable Async edit actions again.
  • Picture of Henrik sune Pedersen
    Tue, Sep 29, 2020, 9:39 PM
    Is it possible to make a link to a section - permanent.
    Right now if we make a link from course A to a section in course B. Then if a new section is added in course B, we have to go back in course A and change the link, because the sectionID has changed. - So linking between courses to sections is nearly impossible ( and something the teachers do a lot).
  • Picture of Daniel Dubbeldam
    Fri, Nov 27, 2020, 5:52 PM
    for everyone having issues installing or upgrading this plugin to Moodle 3.9 (and I think also 3.10!)

    the 3.8 version of the plugins has a requirement for "/course/format/topics/db/upgradelib.php"
    that file does not exist anymore in Moodle 3.9.

    so easiest thing to do is to open file:
    and change line 27 from
    "require_once($CFG->dirroot. '/course/format/topics/db/upgradelib.php');"
    require_once($CFG->dirroot. '/course/format/topics/db/upgrade.php');

    after doing so, the upgrade/ installation works just fine...
  • que bueno que sabe el café colombiano...
    Mon, Dec 28, 2020, 2:19 PM
    Hi everyone... Moodle 3.9+ and Moodle 3.10+ compatibility: Ready!

  • Picture of Dr. Nellie Deutsch
    Sun, Jan 10, 2021, 7:26 AM
    Thank you, David. I appreciate the upgrade.
Please login to post comments