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.
3526 sites
2k downloads
40 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 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'.
  • Picture of Tom Surname
    Wed, 29 Mar 2017, 7:22 PM
    In moodle 3.1 the plugin is not routing the URL correct if you use certain themes. I'm using Edwiser RemUI.
    It also creates another id-number than the theme 'expects'.

    Example:
    When i create a page it creates it in the theme folder /mod/page/view.php?id=100
    It needs to go to /course/view.php?id=48&section=1
  • Picture of Irith Herman
    Thu, 20 Apr 2017, 1:46 AM

    I use this course in many courses and it's really good.
    In one of the courses I wanted to delete one of the section and from that moment the component does not work for me in only in this course.
    I installed and removed the component that did not help, I added more section4 and it did not help
    The course is not shown at all in this configuration I get an error.
    in other course format It shows all the course

    This section does not exist
    More information about this error

    Irith

  • Picture of Sarah Ricketts
    Tue, 25 Apr 2017, 11:36 PM
    Hi Irith, I got the same error and managed to fix it by going to 'Administration > Edit settings' and changing the course format to something else and adding in 1 additional section to the total number and saving. For example, if it breaks on OneTopic course with 11 sections, change it to Topic format with 12 sections. Once your course content is navigable again, go back to 'Administration > Edit settings' and switch back to OneTopic course format and your course should work again. I repeated the error and found the problem to be that by being active in the final section (clicking in the last visible section) and trying to remove that last section (using - icon) - you then get the "This section does not exist" error. I hope this helps. Perhaps there is a way to prevent this error in the coding?
  • que bueno que sabe el café colombiano...
    Wed, 26 Apr 2017, 3:24 PM
    Uploaded the new release.

    2016071401:
    - Fixed: Error code: sectionnotexist
    - Applied Moodle coding style
    - CSS styles changed (Commented by Kuriko A)
    - Granted compatibility with Moodle 3.2+

    Saludos
  • Picture of Irith Herman
    Fri, 28 Apr 2017, 1:08 AM
    Thank you It works fine now
    Saludos
  • Picture of Sarah Ricketts
    Tue, 2 May 2017, 5:09 PM
    Brilliant thanks David for your speedy response, tested at 3.2.2 and works well, no 'section does not exist' error.
  • Picture of Erica Bithell
    Wed, 3 May 2017, 10:08 PM
    Hi David, I've been testing this course format in Moodle 3.2.2, and am running into an issue with the Announcements/News forum.

    It looks as if the auto-creation of the forum no longer works, now that Moodle core has changed the method for doing this (see https://docs.moodle.org/dev/Course_formats#Supporting_the_automatic_creation_of_the_Announcements_forum). I can't see any support for this method in the Onetopic codebase.

    There are two effects of this: the simple one is that it isn't possible to add the forum by adding the Latest News block. But also, if you have an Announcements forum already (e.g. it was there before the Moodle 3.2 upgrade), as soon as you visit the course settings page and re-save it, the Latest News block vanishes because the number of News items has reset to zero.

    I wonder whether you have any plans to add support for this new method so that the Announcements forum and block can be made to work again?

    Thanks in advance,

    Erica
  • que bueno que sabe el café colombiano...
    Sat, 6 May 2017, 3:38 PM
    Hi Erica...

    I added the supports_news method required.

    Thanks by your comment.

    Saludos
  • Picture of Sarah Ricketts
    Thu, 25 May 2017, 6:24 PM
    Hi,
    We're using BuenaVista (2016071401) with Moodle 3.2.2 and i've noticed that when clicking around tabs within a course, when a tab becomes highlighted (with the blue line above it) it can sometimes knockout and misalign future tabs. When clicking on the next tab along, again the tab locations are readjusting. As highlighting doesn't seem to increase the width of the selected tab I can't see a reason for this effecting placement of any other tabs? Example here:
    Thanks
    Sarah
  • que bueno que sabe el café colombiano...
    Fri, 26 May 2017, 3:25 AM
    Hi Sarah...

    I think that your problem is by the tab height in your current theme, the height in selected tab stop the align of next tabs. Please, check it or send me access to a site for test.

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