PDA

View Full Version : Add to template hook


Dragonsys
11-15-2015, 03:46 AM
I am trying to merge a custom template, into another existing template by using a plugin. I have the template hook, I'm just not sure how to get my plugin to add to the data which is already in the hook. Most of what I have found by searching deals with older version of VB 3.8 while I am working with 4.2.

EDIT: I found it
$template_hook['hook_name'] .= '{code}';

cellarius
11-16-2015, 06:20 AM
See https://vborg.vbsupport.ru/showthread.php?t=228078

Dragonsys
11-16-2015, 03:15 PM
That is the one I found. Not sure why I had trouble finding it to begin with. I'm sure it was just a fail on my part, lol