2011-02-16, 03:54 AM
2011-02-16, 07:27 AM
Hook the 'index_start', and declare a global $header. From there you can use $header .= "etc.."; to add code after the header (right before the first category).
Example:
Hope that helps :)
Example:
$plugins->add_hook('index_start', 'myfunction');
function myfunction()
{
global $header;
$header .= "Text on top of categories! Whoa!";
}
Hope that helps :)
2011-02-16, 03:46 PM
Awesome I will use that now
I was using index_start but never thought about using $header.
EDIT: Works![Big Grin Big Grin](https://community.mybb.com/images/smilies/biggrin.gif)
![Big Grin Big Grin](https://community.mybb.com/images/smilies/biggrin.gif)
EDIT: Works
![Big Grin Big Grin](https://community.mybb.com/images/smilies/biggrin.gif)