I've looked and I can't seem to find the answer to this one.
How do I call a custom template into a CMS widget?
I've tried creating a plugin and reRegister using vbcms_widget_cmsfcs_page but no luck.
Quote:
$templater = vB_Template::create('my_template');
$templatevalues['my_template'] = $templater->render();
vB_Template: reRegister('vbcms_widget_static_page ', $templatevalues);
|
Then calling the template in the configure of the widget.
{vb:raw my_template}
--------------- Added [DATE]1551211553[/DATE] at [TIME]1551211553[/TIME] ---------------
[HOW-TO vB4] Create a Widget using Plugins and Templates
Followed the directions and no luck. Anyone know how to use a custom template in a widget?