Dorem - Jérémie Bouillon wrote:
On 30/04/2011 22:37, Daniel Friesen wrote:
Use the BeforePageDisplay hook and
$out->addHeadItem if there is no
more
specific method for what you're trying to insert (ie: a<link>,<meta>,
<script>,<style>, etc...)
http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay
Just what I was looking for, thanks a lot.
Is there a way to control exactly where the content is added?
I used the $out->addScript way to add my script, but it's not placed
at
the end (there's the sshover.htc IE call and a vector script added
after
it).
Just out of curiousity, to avoid or perhaps solve a less-than-ideal
construction,
why does it have to be at the end per se ? What is it you want to
insert there ?
--
Krinkle