PDA

View Full Version : global_start hook


MatthewG
07-20-2007, 06:04 PM
I created a plugin and gave it a hook location of "global start". It shows up on all pages except the main page, /forum/. The plugin includes a PHP file and outputs some ads at the bottom. Now, it works fine... but recently we discovered it doesn't show on the main forum page.

Any ideas? Doesn't look like "global_start" is so global, is it? :) Do we need to use another hook to include the main page or something? Is this a bug? I can assure you it's nothing wrong with the plugin code. I created some static text and it still won't show on the /forum/ page.

EnIgMa1234
07-20-2007, 06:07 PM
Can you post your code?

Kirk Y
07-20-2007, 06:57 PM
Try "forumhome_start".

MatthewG
07-20-2007, 09:50 PM
Weird, I didn't get an e-mail. Anyways, I figured it out... there was an if in the template for the style that was causing the problem. Weird. Anywho, thanks!