Re: ListIt2 and CMSMS 1.12
Posted: Mon Jun 08, 2015 12:59 pm
Thanks for the information, Jo Morg. I did as adviced and have just filed a bug report.
Thanks
Reinhard
Thanks
Reinhard
Content management as it is meant to be
https://forum.cmsmadesimple.org/
Code: Select all
{ListIt2FEEdit mod='ListIt2FEETest' template_name='Templatetest'}
Code: Select all
ERROR: at line 127 in file /mnt/webq/b2/18/5286218/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php:
Message:
Unable to load template file '/mnt/webq/b2/18/5286218/htdocs/modules/ListIt2/lib/fielddefs/TextArea/input.TextArea.tpl'
Code: Select all
Unable to load template file '/home/mbcrisdil/domains/risdilbeek.be/public_html/modules/ListIt2/framework/templates/itemtab.tpl'
Code: Select all
public function RenderInput($id, $returnid)
{
$fn = $this->GetPath() . DIRECTORY_SEPARATOR . 'input.' . $this->GetType() . '.tpl';
if(is_readable($fn)) {
$smarty = cmsms()->GetSmarty();
$smarty->assign('actionid', $id);
$smarty->assign('returnid', $returnid);
return $smarty->fetch($fn);
}
}
Code: Select all
public function RenderInput($id, $returnid)
{
$fn = $this->GetPath() . DIRECTORY_SEPARATOR . 'input.' . $this->GetType() . '.tpl';
if(is_readable($fn)) {
$smarty = cmsms()->GetSmarty();
$smarty->assign('actionid', $id);
$smarty->assign('returnid', $returnid);
$smarty->no_absolute_templates = FALSE; //jc
return $smarty->fetch($fn);
$smarty->no_absolute_templates = TRUE; //jc
}
}