Quote:
Originally Posted by Asterix_ita
@Taurus1
This change should be sufficient
Go to admincp -> Plugin & Products -> Plugin Manager -> Product : CT Info box
Edit plugin Info Box
find:
Code:
if ($ctinfo['button'])
{
$templater = vB_Template::create('ct_info_button');
$templater->register('post', $post);
$templater->register('ctinfo', $ctinfo);
$template_hook['postbit_controls'] .= $templater->render();
}
replace
Code:
if ($ctinfo['button'])
{
$templater = vB_Template::create('ct_info_button');
$templater->register('post', $post);
$templater->register('ctinfo', $ctinfo);
$ctinfo['pbutton']= $templater->render();
}
add this variable {vb:raw ctinfo.pbutton} in the templates postbit or postbit_legacy to the desired position
regards
|
Thank you very much. However it does not work. Does not matter where I insert this:
Code:
{vb:raw ctinfo.pbutton}
It does not show up.