[TYPO3-templavoila] Flexible Content Element: BE user changes BG image

Daniela Waranie news_001 at washammwa.de
Tue Mar 6 11:41:13 CET 2007

Hi Dmitry,

the following won´t work:
100 = TEXT
100.value = background-image:url({field:field_backgroundimage});

this also won´t work:
100 = TEXT
100.field = field_backgroundimage
100.wrap = background-image:url(|);

What is the problem?

Best Regards

"Daniela Waranie" <news_001 at washammwa.de> schrieb im Newsbeitrag 
news:mailman.1.1173176660.6863.typo3-project-templavoila at lists.netfielders.de...
> Hi Dmitry,
> i maped it by using 'attribute' as mapping type.
> Additional a used 'image field' as editing type.
> Fieldname is 'backgroundimage'.
> I don´t know how to adress this field in typoscript.
> What do my typoscript should look like?
> Best Regards
> Daniela
> "Dmitry Dulepov" <9f4eetb02 at sneakemail.com> schrieb im Newsbeitrag 
> news:mailman.1.1172604205.15609.typo3-project-templavoila at lists.netfielders.de...
>> Hi!
>> Daniela Waranie wrote:
>>> i defined a unmapped field in TemplaViol? (when creating a flexible 
>>> content element).
>>> This field  for selecting a background image in backend by a writer.
>>> How do i force this image setting to the style attribute of a <div>-tag?
>>> The target <div>-tag is the root for this flexible content element.
>>> How does the TypoScript look like?
>> Map it to the style attribute. TV will create TS inside DS for this image 
>> as IMG_RESOURCE. You need to add one of wrap properties (see TSRef) to 
>> wrap it something like "background-image: url(|)".
>> -- 
>> Dmitry Dulepov
>> Web: http://typo3bloke.net/
>> Skype: callto:liels_bugs
>> "It is our choices, that show what we truly are,
>> far more than our abilities." (A.P.W.B.D.)

More information about the TYPO3-project-templavoila mailing list