Page 1 of 1

Missing Call in the GuMaxV.php file

Posted: April 3rd, 2009, 1:13 pm
by vwdiesel
Not sure if this was intentionally left out, but the following line was not in the GuMaxV.php file:

wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this) );

This was located in the monobook skin file right after the templates toolbox end but not in GuMax - so a plugin I added to print a page to PDF was not showing at the bottom of the page. The file now looks like this:

//} // if loggedin
wfRunHooks( 'GuMaxVTemplateToolboxEnd', array( &$this ) );
wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this) );
?>

An my new toolbox link now shows as it should at the bottom of the page in the 'footer' links.

Thanks,
Joe

Re: Missing Call in the GuMaxV.php file

Posted: April 3rd, 2009, 7:19 pm
by Paul
The 'wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this) );' came after GuMaxV released...