CMS MADE SIMPLE FORGE

Form Builder

 

[#11327] $FBid not available when using Field Type Module Interface Field

avatar
Created By: Jos (josvd)
Date Submitted: Tue Mar 14 18:52:44 -0400 2017

Assigned To: Fernando Morgado (JoMorg)
Version: 0.8.1.6
CMSMS Version: 2.1.6
Severity: None
Resolution: Awaiting Response
State: Open
Summary:
$FBid not available when using Field Type Module Interface Field
Detailed Description:
The Field Type Module Interface Field does not work anymore because smarty
variable {$FBid} is not available (or in another scope?)


History

Comments
avatar
Date: 2017-03-14 19:21
Posted By: Jos (josvd)

This might not be the proper way to go, but {$FBid} becomes available when you
change line 35 in file classes/ModuleInterfaceField.class.php to

cmsms()->GetSmarty()->assignGlobal('FBid',$id.'fbrp__'.$this->Id);
      
avatar
Date: 2020-09-08 11:18
Posted By: Fernando Morgado (JoMorg)

It looks like a scope issue indeed; I'm not sure if another recent fix may have
solve this too, but can you test from svn any revision after rev 963?
Thanks!
      
Updates

Updated: 2020-09-08 11:18
resolution_id: 6 => 10

Updated: 2017-07-21 19:28
resolution_id: 5 => 6

Updated: 2017-03-14 19:21
resolution_id: => 5