Course formats: Onetopic format

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.
3445 sites
1k downloads
36 fans

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

GIT: https://github.com/davidherney/moodle-format_onetopic

Information in: http://aprendeenlinea.udea.edu.co/lms/investigacion/course/view.php?id=50&topic=2

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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 Shalimar Anderson-Bailes
    Thu, 29 Dec 2016, 2:51 PM
    Hello,
    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
    Thanks!
  • Picture of Nathalia Haydee Martinez Guerrero
    Thu, 12 Jan 2017, 6:52 AM
    Hello!!!
    Cuando tienes pensada la liberación de este formato en Moodle 3.2?
    Thanks!
  • Peter Jonker
    Thu, 19 Jan 2017, 6:36 PM
    Hi,
    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
    Hello,

    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

    Sourcecode:
    https://github.com/luukverhoeven/format_onetopic

    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: https://tracker.moodle.org/browse/MDL-57728

    Saludos
  • 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.

    Saludos
  • 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,

    Tim
  • Picture of Greg Bird
    Wed, 22 Mar 2017, 5:38 AM
    OneTopic Format and "Coding error detected, it must be fixed by a programmer" error?

    I wonder if anyone in this community is also randomly receiving this error, when using oneTopic Format?
    https://www.dropbox.com/s/kzlczoyxm1yrrrp/2017-03-08_10-23-30.png?dl=0

    Our Moodle host is hinting that it might be related to the OneTopic format:

    "..... At this point, they're thinking the most likely candidate is the OneTopic format as they can see evidence of it using session objects and heavily using the Page object, but can't conclusively demonstrate a link. ....."

    Thanks in advance, Greg
  • Picture of Kuriko A
    Fri, 24 Mar 2017, 7:39 AM
    Hi David, thanks for this excellent plugin! I just wanted to enquire about this line in the styles.css file:
    .format-onetopic .tab_content.marker {font-style: italic;}
    I don't really understand the purpose of italicising the font on one of the tabs, and from a design perspective, we prefer no italics on our webpages unless it's indicating a citation. So every time we upgrade, we have to comment out this line of code. So I guess I'm just wondering if it is essential and if there is any chance that it could be removed from future versions?
  • Picture of Kuriko A
    Fri, 24 Mar 2017, 7:43 AM
    Also, I noticed a minor error in the line: .format-onetopic ul.nav-tabs li a .tab_content.dimmed { color: #999; opactity: 0.5;}. It should be 'opacity', not 'opactity'.
1 2 3 4 5 6 7 8 9 10 11 12 13
Please login to post comments