Onetopic format icon

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".
Price option: Free

Supports Moodle 2.0-5.1 See all versions
Latest release: 3 months ago
Installations: 10409
Downloads (last 90 days): 2283

Frankenstyle name: format_onetopic
Course formats

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Good afternoon David. Thanks for the quick response. Sorry for the kettle question. And where can I find and run the style editor? I installed the new version you pointed to but didn't notice any changes.
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?
Hello Sergye...
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
Good afternoon David. Can I somehow make the bookmarks darker and the current one a slightly different color? The file I change styles.css doesn't change the tab colors in any way
Hi @David,
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.
Hi @Daniel...
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
Hi David,
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
Thanks, I've copied your code into my patch.
Yes please, I am honored if any of my code is useful.
Hi David,
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
Hi Zoe,
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.
In 3.11, I am trying to restore a quiz into a preexisting topic tab but I can only get it to restore onto the first tab. How do I move it? It is probably really simple but it is doing my head it!
Tried on Moodle 4.1.2, very useful plugin if your courses have lot of content. Thankyou!
Hi all
I can't delete a section in 'One Topic' - we are using Moodle 4.0
Cheers
H
Hola @Maty...
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
Hola David Herney
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.