Block on all Custom Certificate Instances

Block on all Custom Certificate Instances

by Alex Carrick -
Number of replies: 4

I feel like I should be able to do this, but if I want to create an html block that displays on all Custom Certificate activity pages in all courses - How would I configure this?  After testing all the options I haven't accomplished it:


Average of ratings: -
In reply to Alex Carrick

Re: Block on all Custom Certificate Instances

by Melanie Scott -
Picture of Particularly helpful Moodlers
all activities or all earned certificates?
In reply to Melanie Scott

Re: Block on all Custom Certificate Instances

by Alex Carrick -

On all Custom Certificate activity pages in each course

In reply to Alex Carrick

Re: Block on all Custom Certificate Instances

by Melanie Scott -
Picture of Particularly helpful Moodlers

How many certificates do you have in your courses?

I think there is a block that goes on the Dashboard that shows all the certificates students earned, generally. I'm not sure if it is a plugin or not.

In reply to Alex Carrick

Re: Block on all Custom Certificate Instances

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
You won't be able to use the 'HTML' block that ships with core as it will require accessing the database and some PHP code to display the activities which you certainly can't do via the 'HTML' block (that would be a huge security hole if possible). This would require you to create a new block. It wouldn't be much code, perhaps there a similar block out there.