Onetopic format

Course formats ::: format_onetopic
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.
Latest release:
7173 sites
124 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
  • 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.
  • Picture of César Aranda
    Tue, Feb 9, 2021, 8:28 PM
    Hi, excellent plugin! How to mass update the existing format in each course to the onetopic format? Regards.
  • que bueno que sabe el café colombiano...
    Wed, Feb 10, 2021, 1:36 PM
    Hi César...

    You can do it directly in the database, if you have access to it. Changing the "format" field in table "mdl_course" by "onetopic"... and reset platform cache.

    Note: Not change the "site" value in the site course.

  • Picture of César Aranda
    Thu, Feb 11, 2021, 5:38 AM
    Well, David. In case I want to change the format settings as well, should I consider only the 5 fields stored in mdl_course_format_options? Or do we have to consider other details? Gracias.
  • que bueno que sabe el café colombiano...
    Thu, Feb 11, 2021, 8:58 AM
    Hola Cesar...

    The fields stored in mdl_course_format_options are the only format setting.

  • Picture of César Aranda
    Thu, Feb 11, 2021, 10:27 PM
    Gracias David.
    I have updated more than 1000 existing courses to the onetopic format via SQL and so far they look correct to me. My mistake was not saving the SQL query used.
  • Picture of Kannan Kumara
    Sat, Feb 13, 2021, 9:59 PM
    Hi David,

    Are there any plans to show progress indicators? We thought it would have been a good one if we could let the learners know which topics they have started, progressing and completed (perhaps as a traffic light system or as a percentage) in the tab heading itself so at a glance one could know which topic they need to pay more attention. Hope this makes sense.
  • Picture of Ivan Torres
    Thu, Feb 25, 2021, 3:24 AM
    Hello David Herney Bernal García, could you help me to know if the plugin store the page that user is viewed? because if i fresh the page o if i logged out and then logged in, the page redirect to the last page that user was viewed.

  • que bueno que sabe el café colombiano...
    Thu, Feb 25, 2021, 8:17 AM
    Hi Ivan..

    The format save the current page in session. If you logout it won't be saved.

  • Picture of Bruno Henrique Cury
    Tue, Apr 13, 2021, 1:09 AM
    Hello David
    Can we use it with topics collected inside each tab?
  • que bueno que sabe el café colombiano...
    Tue, Apr 13, 2021, 2:26 AM
    Hi @Bruno...

    I don't understand, What is "topics collected"?

Please login to post comments