Getting resources content on course info page

Getting resources content on course info page

by Vasilij Toporov -
Number of replies: 4

Hello.

I have a task to simplify the process of learning the course by making widget with tabs, filled with course resources content on the course page. Our scheme looks as follow:


Course:

    Topic

        ....bunch of H5V resouces I need to put into tabbed widget...


As I've seen already (https://docs.moodle.org/dev/Course_formats), I need to make the new course format. What functions I need to reorder there, to have a resources content on the course page?

Also, I've tried several modules from this list https://moodle.org/plugins/browse.php?list=category&id=19

The most promising were Buttons (https://moodle.org/plugins/format_buttons), Tabtopics (https://moodle.org/plugins/format_tabtopics), Fntabs (https://moodle.org/plugins/format_fntabs). But they reorder current course page and I need to show resources content instead of their title. Maybe there is another module, which make exactly what I need? 

Average of ratings: -
In reply to Vasilij Toporov

Re: Getting resources content on course info page

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Bear in mind that with any bootstrap based theme, you can actually create tabs using html within any content area, such as a label.

You can then embed H5P content into those tabs, if it has been created on the H5P website (I'm not sure the Moodle version gives you an embed code).

In reply to Richard Oelmann

Re: Getting resources content on course info page

by Vasilij Toporov -

>Bear in mind that with any bootstrap based theme, you can actually create tabs using html within any content area, such as a label.
And where should I put this markup, in the topics summary (or in other of course admin) or in the renderer.php of choosen course formatter?

 >if it has been created on the H5P website (I'm not sure the Moodle version gives you an embed code)

It's a pity, that there are no ability to get embedded code of H5V-content (as far as I know) in Moodle to display it on other pages.

In reply to Vasilij Toporov

Re: Getting resources content on course info page

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

The H5P team have previously been fairly responsive to requests - might be worth going on their website and making that suggestion as an addition to their development roadmap smile

In reply to Vasilij Toporov

Re: Getting resources content on course info page

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Where to put the markup - as I said it can go in any content area such as a label or a topic summary, it really depends on your requirements. You could even put it in a separate html block.