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.
3497 sites
32 fans

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


Information in:


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 Iñigo Zendegi Urzelai
    Wed, 7 Dec 2016, 10:31 PM
    Hi David,

    We've have a weird error using OneTopic: in two courses using OneTopic the section 0 is hidden to students. This section is special and in its settings there is no way to hide it (nor to make it visible again), so I don't know how has it ended that way but it's happened twice and both times it was using OneTopic so I guess it is something related to this course format.

    I know it's very little information but I hope that with this clues you can find which the issue is...

  • Picture of Alan Dahomey Aguilar Leonel Sanchez
    Thu, 8 Dec 2016, 4:53 AM
    Hola David! Gracias a tu extensión nuestros cursos se ven estéticos y muy presentables. Ahora queremos actualizar a Moodle 3.2, pero no lo hacemos porque queremos el 'onetopic' en nuestra página. ¿Cuándo la subirán? Muchas gracias por tu trabajo. ¡Saludos!
  • Picture of P Barbieri
    Wed, 14 Dec 2016, 9:08 AM
    Hi, would like to say great plugin and thank you for continuing to provide support for it. We have been using it for a few years as the default course format! I am in the same boat as @Roger Flores, but I can see that you are implementing a fix in the next version.

    Happy to up vote it if it helped in a tracker. Thanks again for this great plugin!
  • Picture of Shalimar Anderson-Bailes
    Thu, 29 Dec 2016, 2:51 PM
    Installed it on my newly created 3.2 site hoping for the best while using the new Boost theme, but didn't quite work right. The content of the tabs is being rendered as html, not actually showing the HTML. Happy to send screenshots if that would be helpful.
    Hoping for a new release soon smile
  • Picture of Nathalia Haydee Martinez Guerrero
    Thu, 12 Jan 2017, 6:52 AM
    Cuando tienes pensada la liberación de este formato en Moodle 3.2?
  • Peter Jonker
    Thu, 19 Jan 2017, 6:36 PM
    We use your format very frequently so thanks for all the work! At the moment I am experiencing the same issue as Shalimar. The topics are showing as HTML code when using Moodle 3.2 with the Boost them. Would be very helpful if a new version with a fix could be added. Thanks again! Peter
  • Picture of Luis Alberto Ossa Nieto
    Fri, 20 Jan 2017, 12:51 AM

    I have detected a small problem with this version of onetopic for version 3.1.4+.

    description of the problem

    Context: Starting from a backup of a course made in the version of Moodle 2.7.3, then restoring it directly in the instance of Moodle 3.1.4, the course settings are configured to change the format of Theme to Format shape tabs Satisfactory.

    For this moment the tabs are already visible and active each in the visual presentation of the course.

    The problem is evident after editing any section or tab of the course (Select "Hide topic"). When selecting "Hide topic", the process is performed successfully by hiding the whole section or topic with their respective activities and resources, BUT when you want to re-activate the entire section or tab, the environment and the "Edit" link is blocked without allowing the Display and activate the "Activate theme" option.

    I hope someone can similarly test my case, starting from a backup and restoration of a course from one version to another in moodle and later editing the course's asjustes to change the format of Theme to Eyelashes. So in this way they will be able to evidence my approach and finding when a section or theme is hidden and then intended to be activated again.

    Thank you.
  • MoodleFreak
    Thu, 9 Feb 2017, 3:03 AM
    Hi, we made a tweak for a customer to let it work on Moodle 3.2


    We rebuild the tabs raw html to html with some extra javascript. Note: this is a workaround.
    A better solution would be to use `html_writer::` instead of `tabobject()`.
    The `tabobject` doesn't support raw html input in moodle 3.2+ anymore.

    I hope this helps.
  • que bueno que sabe el café colombiano...
    Fri, 10 Feb 2017, 5:03 AM
    Hi Luuk...

    It was fixed in Moodle directly by Stephen Bourget. You can check it in:

  • MoodleFreak
    Fri, 10 Feb 2017, 6:08 AM
    Nice, that they fixed it in the core of moodle. Then there is no need to change the tabobject anymore ;)

    Greets Luuk
  • Picture of Jorge Barchiesi
    Tue, 14 Feb 2017, 1:08 AM
    Hello, I have installed moodle 3.2.1+ and I need help to how to install the fix on this version of moodle.
    Greets Jorge.
  • Picture of David Dunn
    Fri, 17 Feb 2017, 12:50 AM
    Hi. Thanks for developing this very useful format. There is no News Forum by default, right? Was this intentional?

    - David
  • que bueno que sabe el café colombiano...
    Fri, 17 Feb 2017, 1:26 AM
    Hi David...

    Yes, It is intentional. The Onetopic format don't add the news block and this block "build" the News forum.

  • Picture of David Dunn
    Fri, 17 Feb 2017, 4:07 AM
    Got it. I prefer this default setting, with the ability to add a News Forum via the "Latest News" block.

    Thanks, David, from David wink
  • Picture of Tim Elder
    Mon, 27 Feb 2017, 11:09 AM
    Hi David,

    We love this format and have set it as our default for all new courses. Thanks heaps for making it.

    We're getting the same issue as Iñigo Zendegi Urzelai above (Section 0 is hidden with no means of changing it), and our server was updated to 3.1.3+ in December (from 2.8). The course that is encountering the issue (we have only had one course with the problem so far) was originally in Topics format (if that helps at all).

    Any idea what might be happening?

    Thanks again,

1 2 3 4 5 6 7 8 9 10 11 12 13
Please login to post comments