Generico Filter
Maintained by
Justin Hunt
Generico is a simple filter for creating templates of code snippets and text that can be inserted into Moodle text areas.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
e.g {GENERICO:type="houses",color="green",owner="jim",passthrough=1}
Also note that there is some old but still applicable documentation here: https://poodll.freshdesk.com/a/solutions/articles/19000083258
My question for is, if it is possible to display the progressbar for activities in a course through the generico filter.
Unfortunately it didn't display the image. Can you help me?
Best regards, Mary
I have a need to display a countdown timer for an upcoming exam, and found this post https://moodle.org/mod/forum/discuss.php?d=324771#p1309563 which uses Generico filters to acheive just this. I recognise that this post was written a few years ago, and the filter templates now have more boxes - and I have added the relevant bits to the relevant boxes (e.g. main code into one box, css into another, and javascript into the javascript box) - but this isn't quite working - I get the boxes displayed, but no text within them. Has anyone got a countdown timer working more recently, and can point me to the code?
Then you can attach your template bundle for me (or others) to look at.