One question: I am trying to connect the module gallery to a custom field (dropdown from module). I followed the instructions and I put in extra field with this code:
{cms_module module=Gallery template=selectebox}
The "selectbox" template is done this way
Code: Select all
options[{foreach from=$images item=image}{if $image->isdir}{$gallerytitle}={$gallerytitle}{/if}{/foreach}]
options[Gallery=Gallery]
the custom field get the following warning in backend
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in /var/www/vhosts/XXX/modules/ModuleGenerator/lib/class.generator_filters.php on line 244
Any idea?