CMS MADE SIMPLE FORGE

AdvancedContent

 

[#10086] Image content block type does not work in multi-input

avatar
Created By: Chris (goat05)
Date Submitted: Tue Jul 01 13:50:01 -0400 2014

Assigned To:
Version: AdvancedContent 0.9.4.3
CMSMS Version: 1.11.10
Severity: Minor
Resolution: None
State: Open
Summary:
Image content block type does not work in multi-input
Detailed Description:
When using an image type of content block in a multi-input, the id/name
attributes of the admin input tag are not appropriate for the multi-input to
process the input value.  The result is that the value from the image input does
not make it into the database.

The fix is to change line ~28 of class.acBlockType_image.php from
$this->GetProperty('inputname') to $this->GetProperty('id') so that the input
tag uses the id generated by the multi-input.

That said, multi-inputs are my new best friend!


History