[TYPO3] TemplaVoila and IMG_RESOURCE problem, SOLUTION

Georg Rehfeld georg.rehfeld at gmx.de
Tue May 15 04:41:59 CEST 2007


Dear Peter,

>> I would like to understand ...
> 
> When you create a TemplaVoila object, then the scope of variables is limited 
> to that TV object.

Ahh!

You know, that you just gave the essential abstract/concept of what is
going on behind the scenes of TV?

As far as I could figure, this is not stated at all (at least not
clearly, or well hidden in some subordinate clause) in all TV related
docs.

> So when you do a:
> 
> 10.import.field = media
> 
> TV looks for a TV FIELD named "media", so in order to get "outside" the TV 
> object, you have to specify the table & field you want. And for that you use 
> the "data" property instead of "field"
> 
> 10.import.data = page:media
> 
> (I hope i explained it correctly.)

I can't confirm correctness (lacking knowledge/analysis), but at least I
begin to understand. And your explanation helped me a lot.

Thanks again Peter, you are a good guy.

best regard, Georg
-- 
  ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   georg.rehfeld.nospam at gmx.de    +49 (40) 23 53 27 10

              (Delete .nospam from mail address)


More information about the TYPO3-english mailing list