mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
91 stars 158 forks source link

View Certificate button hidden #448

Closed natkennel closed 3 years ago

natkennel commented 3 years ago

We are using Moodle 3.10 - just upgraded from 3.9 - and using the Academi theme. Now, when a user (or myself as a course creator) tries to click the "View Certificate" button for the Custom Certificate plugin, the button is hidden. I tried to see if there was anything in the html code to show why it is listed as "hidden" (see attached screenshot), but I think it has something to do with the .php file.

Help.

view-error

mdjnelson commented 3 years ago

No where on the PHP file does it hide the certificate button. I have a feeling this is an issue with the custom theme. If this was common occurrence there would be a lot more bugs files.

natkennel commented 3 years ago

I'm not using the custom theme. I was also playing with the Inspect element in the browser and found that when I uncheck the "#region-main .singlebutton .btn..." style, the button shows like it's supposed to. Can you help me find where I would correct this? Or is there, perhaps a trigger that isn't working properly?

image

mdjnelson commented 3 years ago

You stated you are using the Academi theme. From a guess I would say they have a general rule to hide buttons with the path you listed above.

mdjnelson commented 3 years ago

Since I can not replicate this nor has it been reported before (and an issue this large would have) makes me suspect this is a theme issue. Closing. Thanks.