Onetopic format
Maintained by
David Herney
Course format 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".
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I change the style file itself, but no changes in the color of the bookmarks work. I clear the cache. the file is located here mysite/course/format/onetopic/styles.css is it definitely included?
Yes, all that should be possible with the styles (CSS), maybe you are not applying it correctly or you haven't reset the style cache.
Also, you can try the new version that adds a style editor for the tabs. It is still in testing but very stable. It is available for Moodle 4: https://github.com/davidherney/moodle-format_onetopic
Saludos
Thanks so much for the reply. You were right, the $format object was not set before the call to the function. Great plugin and great people too.
Check the local_grics component because it seems to be calling the format too soon. I don't know what the component does but it seems that there is the error.
Trace:
line 336 of /local/grics/customscripts/course/view.php: call to require()
Saludos
I have upgraded from Moodle 3.9 to 4.1 and since that all my course with onetopic format throw this error :
Exception : Call to a member function get_output_classname() on null
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 79 of /course/format/onetopic/format.php: Error thrown
line 336 of /local/grics/customscripts/course/view.php: call to require()
line 1026 of /lib/setup.php: call to require()
line 34 of /config.php: call to require_once()
line 5 of /course/view.php: call to require_once()
Do you have any idea of what is causing that?
Thanks in advance.
Daniel
Moodle 4.2 has added a feature to duplicate sections, but it has several issues. One of them is that it doesn't seem to copy the files embedded in a section's summary. I know that you've got code to do this, so I was wondering if it's OK to copy your code. Here's the bug report I've opened:
https://tracker.moodle.org/browse/MDL-78080
To move an activity in Onetopic for Moodle 3.x, you need to:
- Click Turn editing on (top right).
- Click Tabs edition utilities (bottom left).
- Click Asynchronous edit actions Disable.
- Click the up/down arrow next to the activity you want to move.
- Navigate to the page where you want the activity.
- Click the box with the dashed outline in the place where you want the activity.
I can't delete a section in 'One Topic' - we are using Moodle 4.0
Cheers
H
Esa funcionalidad la tengo en la hoja de ruta, todavía no la tengo implementada en la nueva estructura de formatos. Intentaré adicionarla en la próxima versión.
Saludos
En moodle 4.1 ya no aparece la navegación al final de cada pestaña, que te permite ir a la siguiente pestaña o regresar a la anterior ¿Podrías ayudarme para volverla a poner? por favor.