[TYPO3] TemplaVoila and IMG_RESOURCE problem

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Mon May 14 09:57:03 CEST 2007


Georg Rehfeld wrote:
> I don't want to get the image in "field_b1" (there is no such field).
> That string is just the TemplaVoila mapping name for the style attribute
> of a <span> inside an <a class="b1"> tag.
> 
> And as I pointed out: my TS conf for the IMG_RESOURCE _is_ OK, when used
> in page.5: the path to the first image file is generated.
> 
> And the TV mapping is also OK, as the wrap "background-image:url();" is
> inserted by TV in the right place (the spans style attribute).
> 
> The problem still is: in TV the path to the image file is not rendered.
> Why?

Because you did not read manual :) You can access only fields from DS on 
the same level if you use only field name. To access fields from parent 
record you have to use more complex TS. Read manual about parent record.

-- 
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-english mailing list