S
Siropu
Guest
Using the following code,
PHP:
Continue reading...
renderTemplate
will load the original version instead of the modified version.PHP:
Code:
$templater = \XF::app()->templater();
$templater->addDefaultParam('xf', \XF::app()->getGlobalTemplateData());
$templater->renderTemplate('public:modified_template_name');
Continue reading...