I have written a small language toggle plugin for the sidebar (in OJS 3.0.2) with flags instead of words. I would like to include a small less/css file for this plugin with some basic rules (like size of the icons), but I don’t know where and how to reference this file. Is this even possible?
It would be nice if someone could give me some directions, because I don’t have any experience with this.
I’ve put the line of code into my “LanguageFlagsBlockPlugin.inc.php”-file but it there weren’t any changes. Clearly I am doing something wrong. Do I have to reference this somehow in my block.tpl?
I’m sorry to bother you with these certainly easy problems, but after trying for hours I don’t know what to do anymore.
Take a look at the function “register” in my link above (it is the first). The second hook there is for adding your function with links to css in templates.