ListIt2 and CMSMS 1.12

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm
Location: Munich, Germany

Re: ListIt2 and CMSMS 1.12

Post by reinhardmohr »

Thanks for the information, Jo Morg. I did as adviced and have just filed a bug report.
Thanks

Reinhard
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: ListIt2 and CMSMS 1.12

Post 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
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm
Location: Munich, Germany

Re: ListIt2 and CMSMS 1.12

Post 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
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm
Location: Belgium

Re: ListIt2 and CMSMS 1.12

Post 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?
Kind regards,
HarmO
User avatar
jissey
Forum Members
Forum Members
Posts: 61
Joined: Sun Jul 18, 2010 12:17 pm
Location: South of France

Re: ListIt2 and CMSMS 1.12

Post 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.
Locked

Return to “Modules/Add-Ons”