PDA

View Full Version : Custom template hook question


BBR-APBT
12-02-2009, 02:15 AM
I want to add a custom template hook at the very end of the footer template when installing a product.

The last line is there is </div> so preg_replace wouldn't work. Which is why I decided to add a custom template hook.
I am surprised there is no template hook called template_hook.footer_end.

Would any one be willing to tell me how to do so?

Thanks in advance.

Lynne
12-02-2009, 02:31 AM
Just enter this line where you want the template_hook:
{vb:raw template_hook.footer_end}

Zaiaku
12-02-2009, 03:05 AM
I was just thinking about this earlier an wondered if that was possible. TY Lynne.

BBR-APBT
12-02-2009, 03:49 AM
I knew that much Lynne. ;)

What I want to do is have it inserted automatically when you install the product.