Generico Filter icon

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.
Price option: Free

Supports Moodle 2.1-5.2 See all versions
Latest release: 9 months ago
Installations: 2564
Downloads (last 90 days): 558

Frankenstyle name: filter_generico
Filters

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

2.7 is quite old now. What version of the Generico filter are you using? If it's a recent version it will be using AMD which didn't come along until 2.9. The supported versions of Moodle are listed with each of the versions of Generico on the Moodle plugins page
Hello. help me plz
i dont know why page /admin/settings.php?section=filter_generico_templatepage_1 is not fully loaded
It's happends when i am trying to edit template
how to fix it
Moodle 2.7.14 (Build: 20160509)
Hi Jeff
Thanks for the vote!! Right now people just post them in this forum: https://moodle.org/mod/forum/discuss.php?d=324771
I have made a few a half hearted attempts at a gallery of sorts for the plugins but was generally beaten back by life(or in one case a server crash). More recently I set up a Moodle Database activity on the PoodLL demo site, and got as far as one template uploaded and explained. https://demo.poodll.com/mod/dataform/view.php?id=196
But it is not actually the right place for this. Because it gets reset each day, so I am the only one who can really edit it permanently.
[ .... thinking ...]
How about we set up a special site for sharing templates on MoodleCloud? Does that sound like a good idea? (Generico itself is not installed there, but thats ok ... isn't it?)
Its a real shame, there are some really good templates out there. Hmmmmm Perhaps we could make a generico site on Moodle cloud for this purpose? The plugin itself is not installed there, but we could use the Moodle database
One of the best plugins ever made. Is there like a repository for us to share things we have done using this plugin? I wouldn't mind sharing some of the filters I have managed to get working smile. Maybe someone else might find them useful with their work.
Thank you so much. A very useful plugin. It's worth spending time playing around.
Hi Justin,
great work! We use Moodle v2.8 & I've downloaded the plugin from moodle.org instead of github after reading your github note.
Just double-checking, if I've more than 20 templates should it work for the version I downloaded? Your comment indicates (https://moodle.org/user/view.php?id=14534&course=1) the version hosted here wouldn't work.
We'll basically use the plugin for re-using text blocks for different courses. So it's important to have the capability of unlimited template (i.e. out-of-the-box if possible).
Could you please confirm? Thanks Justin.
Hi Justin, I would like to know how to use it in Moodle 2.5, and install and can achieve access templates, which can not be accessed from the text editor, how could I use it?
Me again, point 2. The body of template is missing. Here it is :
2. The body of template

++
Hi,
Thank you for your plugin. I use your plug-in to embed responsive video in my theme. Very usefull for me. Peoples can add video without use html code.
I share my method, perhaps it can help someone.
I use this setting with Generico Template template with this :
1. The key that identifies template
Youtube
2. The body of template

Bis : you can use Vimeo, it's works fine too.
In my theme CSS, I add this :
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 0px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Best regards
That starts to stretch it a bit really. There are some preset variables that contain information passed in from PHP. If you were making a custom solution, you could just add to those by modifying filter.php (and friends). But if you wanted to do it via javascript, without modifying Generico, the information that you use in the template would need to be available from javascript. If it is, then you should be able to use it.
Is there a way to pass a variable from an android system into moodle such as a device id? Or to look up something from outside of moodle? Thanks
Awesome Justin! That works perfectly fine!!!! Thank you!!!!
I figured I might as well just go through and implement this. So I did that. Both the Generico filter and the Atto Generico plugins have been updated on github. I won't put them on Moodle.org till I am pretty sure they work ok. But they work ok. In the Generico common filter settings there is now a setting for the number of templates, the default is 20. If you up that, you will need to click on the site admin -> notifications link for the new template settings to be picked up. ( i was surprised that worked). Please try it out and report back.
Generico Filter Github: https://github.com/justinhunt/moodle-filter_generico
Atto Github : https://github.com/justinhunt/moodle-atto_generico
I figured I might as well just go through and implement this. So I did that. Both the Generico filter and the Atto Generico plugins have been updated on github. I won't put them on Moodle.org till I am pretty sure they work ok. But they work ok. In the Generico common filter settings there is now a setting for the number of templates, the default is 20. If you up that, you will need to click on the site admin -> notifications link for the new template settings to be picked up. ( i was surprised that worked). Please try it out and report back.
Generico Filter Github: https://github.com/justinhunt/moodle-filter_generico
Atto Github : https://github.com/justinhunt/moodle-atto_generico
Thanks i really appreciate any help, as i've ran out of templates and i really need a few more to keep going with my moodle install, so if you can update me with your findings later on i'll really appreciate, as i don't really have time to wait for a new update of the plugin.
cheers,
dan