[Typo3-dev] Assigning constants-arrarys to ts-setup-arrays

Michael H.E. Roth mher at mher.de
Thu Feb 12 23:16:01 CET 2004


Hi Kasper,

thanks for answering

On Thursday, 2004-02-12 at 5.33pm
=?us-ascii?Q?=22Kasper_Sk=E5rh=F8j=22?= wrote:
> >
> >plugin.extension.arrayname.0 = {$plugin.extension.arrayname.0}
> >plugin.extension.arrayname.1 = {$plugin.extension.arrayname.1}
> >
> 
> Yes, only way.

Thanks, I just wanted to verify.

> >or is there any shorter way to do it?
> >
> >btw. none of the below works
> >
> >plugin.extension.arrayname = {$plugin.extension.arrayname}
> >plugin.extension.arrayname. = {$plugin.extension.arrayname.}
> >plugin.extension.arrayname < {$plugin.extension.arrayname}
> 
> Invalid TypoScript according to syntax.
Yes, I know, 
1 and 2: I was just experimenting - maybe experiencing some unplanned
but in this case welcome sideeffects - (I didn't look too deep into the
php-code to see if it works.
3: just a wild guess :-)

Michael
___________
Michael H.E. Roth
86574 Petersdorf
Germany






More information about the TYPO3-dev mailing list