Hi there,
To use the shared form with an image you need filepicker configuration. But how do i setup those configuration?
$link = $fp->getLink('Choose a logo')
->withImage('logo')
->withValueTarget('logo');
$vars['sections'] = array(
array(
array(
'title' => 'logo',
'fields' => array(
'logo' => array(
'type' => 'image',
'id' => 'logo',
'edit' => TRUE,
'image' => ee()->addon_settings->item('logo'),
'value' =>ee()->addon_settings->item('logo')
)
)
)
)
);
Am i missing something?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.