Is there going to be an update to
12 posts by 5 authors in: Forums > CMS Builder
Last Post: June 30, 2019 (RSS)
By Codee - March 25, 2019
Hi Dave,
Thanks. I understand, and appreciate, that. I figured out a couple hours ago the answer I needed and have been working/testing since. Also, Daniel pointed out what I discovered as well:
> Hi Terry,
>
> Based on that error, can you try changing this line:
>
> $allowedTables = array('every_field_multi');
>
>
> to:
>
> $allowedTables = array('orders');
>
>
> That array should contain any tables you want to be able to add uploads
> to with the iframe.
>
> Let me know if that helps!
>
> Thanks,
> Daniel
All is going well now. I appreciate all the input and the willingness to help. Thank you to all.
By AlanAlonso - June 30, 2019
Thanks, also if someone need it I made the change like this.
<iframe src='cmsb/3rdParty/uploadForm3_iframe.php?table=<?php echo $tableName ?>&field=upload&num=<?php echo $recordNum ?>&preSaveTempId=<?php echo $FORM_PRESAVETEMPID ?>'
height='100' width='600' frameborder='0' scrolling='no'>
</iframe>
$allowedTables = array('every_field_multi');
$allowedFields = array('upload');
to
$allowedTables = array($table);
$allowedFields = array($field);