Page 2 of 2

Re: ListIt2 and CMSMS 1.12

Posted: Mon Jun 08, 2015 12:59 pm
by reinhardmohr
Thanks for the information, Jo Morg. I did as adviced and have just filed a bug report.
Thanks

Reinhard

Re: ListIt2 and CMSMS 1.12

Posted: Mon Jun 08, 2015 1:11 pm
by psy
Hi, sorry to say that ListIt2FEEdit is no longer supported/under development either. Too hard, too much time, etc to keep up to date with CMSMS and all it's changes when LI2 is no longer supported.

However, MAYBE a solution is that you have not specified an LI2FEEdit template in your tag? The error seems to infer that it's looking for a default template because it cannot find the specified template.

Could be wrong.. Good luck

Re: ListIt2 and CMSMS 1.12

Posted: Mon Jun 08, 2015 2:09 pm
by reinhardmohr
Thanks, everybody,

this doesn't work either (I had only got it to work under CMSms 1.11.6) …
Under 1.12 I had added a template in ListIt2FEEdit and called it "Templatetest". As my custom ListIt2 instance is "ListIt2FEETest" I could now insert the complete tag into my page:

Code: Select all

{ListIt2FEEdit mod='ListIt2FEETest' template_name='Templatetest'}
and when the page was called this resulted in the error console:

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'
As the module ListIt2FEEdit is now officially no longer developed I am at the beginning again …
… could there be an easy workaround for ListIt2FEEdit, too?

And like many others I do regret that these beautiful modules are no longer actively developed – couldn't someone talk the developers into coming back … ?

Thanks

Reinhard

Re: ListIt2 and CMSMS 1.12

Posted: Tue Jun 09, 2015 10:16 am
by HarmO
what with the error

Code: Select all

Unable to load template file '/home/mbcrisdil/domains/risdilbeek.be/public_html/modules/ListIt2/framework/templates/itemtab.tpl'
http://forum.cmsmadesimple.org/viewtopi ... 76#p322076

Any idea what went wrong?

Re: ListIt2 and CMSMS 1.12

Posted: Thu Aug 13, 2015 3:32 pm
by jissey
Hello,
another {bad} workaround {/bad} for ListIt2FEEdit :
in ListIt2/lib/class.ListIt2FielddefBase.php, replace :

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);
	
		}
	}	
by

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

		}
	}	
near line 399.