I'm trying to write a module, and i need to add js script in the <head> section (though, it would even better if i could add it just before the closing <__body> tag but i fear it might be even harder, right?).
There is this nice function that does it in backend : GetHeaderHTML(), but i can't find a way to do it in frontend?
I see that Gallery module does it, but i can't figure out how. I've also searched in the API guide but can't find a function for it?
Thank you!
