Fixed the missing phrase in the next release. As for the template-tag being null, I will wait for your feedback, but I believe this can occur if the template-tag is enabled but the button icon was blanked rather than removing the tag from the toolbar config. In src/addons/vw/vw/XF/Template/Templater.php, find (there may be a scrollbar):
Code:
if (
$templatetag and
$for == 'wiki' and
isset($params['customIcons']["$templatetag"]) and
\vw_Hard_Core::model('Node')->on('Template')
)
{
$params['vweditor']['template'] = true;
$config['vw_template_tag'] = $templatetag;
$enable['template'] = true;
$this->vwChooserCssPath($params);
if (!isset($grouped["$templatetag"]))
{
$insert['top'][] = 'xfCustom_' . $templatetag;
}
}
Replace with (there may be a scrollbar):
Code:
if (
$templatetag and
$for == 'wiki' and
\vw_Hard_Core::model('Node')->on('Template')
)
{
$params['vweditor']['template'] = true;
$config['vw_template_tag'] = $templatetag;
$enable['template'] = true;
if (isset($params['customIcons']["$templatetag"]))
{
$this->vwChooserCssPath($params);
if (!isset($grouped["$templatetag"]))
{
$insert['top'][] = 'xfCustom_' . $templatetag;
}
}
}
I can only reproduce the behavior you describe if I DON'T apply the edit in my previous post. Which leads me to believe that you haven't applied the edit yet or your PHP files have a long-lived cache that you need to clear.
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.