PDA

View Full Version : Moving the location of a mod within forumhome template


way2xtreme
12-29-2010, 11:35 PM
Hello,

I have been playing around with Show Poll in Forum Home mod, it seems to work. Except it's showing right after breadcrumb...

Although it is in the mod graveyard, my question here is not really about how it works but how to move it to a different area in Forumhome. Ideally {vb:raw ad_location.board_after_forums} or {vb:raw ad_location.board_below_whats_going_on}. Basically just somewhere below the forums.

The current Hook Location is forumhome_complete for the mod to show, here is the end of the show poll PHP code



$templater = vB_Template::create('polloptions_table');
$templater->register('pollbits', $pollbits);
$templater->register('pollenddate', $pollenddate);
$templater->register('pollendtime', $pollendtime);
$templater->register('pollinfo', $pollinfo);
$poll = $templater->render();
}
$dt_poll['dt_poll'] = $poll;
vB_Template::preRegister('FORUMHOME', $dt_poll);
}


Thank you very much!

W

way2xtreme
12-31-2010, 04:08 AM
Any takers on this one?

Thanks.