[TYPO3-english] Flexforms and DAM image field
Oliver Rowlands
oliver at liquidlight.co.uk
Sat Nov 7 15:21:51 CET 2009
Hi Aneta,
You can link to DAM records by using something along the lines of the
following flexform configuration:
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>tx_dam</allowed>
<size>10</size>
<prepend_tname>1</prepend_tname>
<MM>tx_dam_mm_ref</MM>
<MM_foreign_select>1</MM_foreign_select>
<MM_opposite_field>1</MM_opposite_field>
<MM_match_fields>
<ident>tt_content</ident>
</MM_match_fields>
<maxitems>50</maxitems>
<minitems>0</minitems>
<show_thumbs>1</show_thumbs>
<autoSizeMax>30</autoSizeMax>
</config>
As far as I am aware there is no way of disabling the DAM upload feature
in the element browser.
HTH,
Oliver
Aneta Jaroslava wrote:
> Hi all,
>
> I am using TV and DAM.
>
> Now I have a flexform that looks like:
>
>
> <config type="array">
> <type>group</type>
> <internal_type>file</internal_type>
> <allowed>jpg</allowed>
> <max_size>1000</max_size>
> <uploadfolder>uploads/tx_templavoila</uploadfolder>
> <show_thumbs>5</show_thumbs>
> <size>5</size>
> <maxitems>5</maxitems>
> <minitems>0</minitems>
> </config>
>
> for the image field.
>
> How can I access the DAM images here?
> And I hoope with example for DAM, the damn upload field will be gone.
> We want the editors ONLY to use images from DAM.
> Nothing uploaded, just using whats provided.
>
> Do you have any examples, tips, suggestions for me?
>
> Thanks.
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-english
mailing list