PDA

View Full Version : Template hook


Ducks
04-06-2010, 12:28 PM
I'm trying to create an extra button to the right of the top Reply button, but can't find the hook location. Is there any or any suggestions?

TigerC10
04-06-2010, 05:33 PM
In the SHOWTHREAD template there's the hook {vb:raw template_hook.showthread_above_posts} right above the reply button.

However, if a template hook is missing you can always add one in. Just go to where you want it to display and add something in like {vb:raw custom_template_hook.showthread_right_reply_top}. Then your plugin can be set to execute on the same page but populate that variable.

Ducks
04-06-2010, 06:40 PM
Thanks