Moodle Plugins directory: Topics activity cards format | Moodle.org
Topics activity cards format
Course formats ::: format_topicsactivitycards
Maintained by
Andrew Hancox
Course format which overrides the topics format to display activities as cards with various opportunities for customisation.
Latest release:
489 sites
333 downloads
31 fans
Current versions available: 3
Course format which overrides the topics format to display sections and or activities as cards with various opportunities for customisation such as:
- Set width for each card
- Override the activity description
- Include an image in the card header
- Put text in a footer section
- Apply additional CSS classes to the cards
- Specify a duration for the activity
If you like our work we maintain various non-public plugins available on a commercial basis, you can see the details here:
Useful links
Contributors
Andrew Hancox (Lead maintainer)
Please login to view contributors details and/or to contact them
The Linked Card already does this, so hopefully it's easy to do, possibly have a toggle for it either at activity, course or site level?
A possible issue with the Linked Card formatted topic:
It didn't have a link on the Topic title text, but did have a link on the card image - I'm guessing this is to allow the Topic title text to toggle the collapsible functionality when it's enabled, however this meant that when there was no image in the Topic card, there was no link to click through to the topic's contents.
Not sure if you'd looked at that use case, but wanted to flag it for you just in case
I never have seen this plugin before, this is very promising and a wonderful one. I like it so much, specially that it has setting on course level, section level and activity level; which may make it a one of a kind tool.
It probably need some more instructions or help about it, in this regard, I have 2 questions.
I am trying to set the width of the card so I can have 2 cards on one full line (2 columns only), it does show the 2, but they are 2/3 of the full width, and it does not seem to work for me. Is there something specific to do this?
UPDATE: After writing this post, I knew that it is not possible to set it in the section area, but when set at the activity settings, it works very well.
The other question is that in the activity settings under "Topics activity cards format" a setting for "Duration":
What does this do?
Does it enforce finishing at the duration end? Or
A minimum required time? Or
Just a suggested duration?
Would it be possible to link it in the future with the "activity completion" rules? Or
Possibly in a course that has least time limit of time spent?
Thanks a lot,
Is it possible to add the same features to to the course category to add some features to the category settings?
Thanks,
The minimum duration is just a visual note to the user, it has no functionality beyond that.
Error code: codingerror
Stack trace:
line 1362 of /lib/pagelib.php: coding_exception thrown
line 52 of /course/format/topicsactivitycards/lib.php: call to moodle_page->add_body_class()
line 1667 of /lib/outputrenderers.php: call to format_topicsactivitycards->course_header()
line 4709 of /lib/outputrenderers.php: call to core_renderer->course_header()
line 219 of /lib/mustache/src/Mustache/Context.php: call to core_renderer->full_header()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 729 of /home/neme6854/moodledata_ecampusinisup/localcache/mustache/1733577519/educard/__Mustache_e43bf0ed9ea2926a64108b71000add35.php: call to Mustache_Context->findDot()
line 74 of /home/neme6854/moodledata_ecampusinisup/localcache/mustache/1733577519/educard/__Mustache_e43bf0ed9ea2926a64108b71000add35.php: call to __Mustache_e43bf0ed9ea2926a64108b71000add35->sectionAfc94a9d79f4d2705f19e4fa2e2c5125()
line 66 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_e43bf0ed9ea2926a64108b71000add35->renderInternal()
line 216 of /lib/outputrenderers.php: call to Mustache_Template->render()
line 117 of /theme/educard/layout/drawers.php: call to renderer_base->render_from_template()
line 1485 of /lib/outputrenderers.php: call to include()
line 1410 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 307 of /course/view.php: call to core_renderer->header()"
Que faut-il faire pour débloquer le problème ?
En vous remerciant