[TYPO3-templavoila] build link from selector box

lee perry leeperry at slack.de
Tue Jul 31 12:04:27 CEST 2007


Hi,

I think Bartosz wants to build the link with both apparent "values" of 
the selected selector box element:

<numIndex index="0" type="array">
    <numIndex index="0">0</numIndex>
    <numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
    <numIndex index="0">Best movies</numIndex>
    <numIndex index="1">best</numIndex>
</numIndex>

<a href=?&what= numIndex index="1" > numIndex index="0" </a>
means:
<a href="?&what=best">Best movies</a>

but as far as I know, it's not possible that way.

maybe you can do it by using "if"

10 = TEXT
10.value = Best movies
10.typolink.additionalParams.dataWrap = &what={field:field_selectorbox}
10.if {
	value.field = field_selectorbox
	equals=best
}

20 < .10
20.value = Worst movies
20.if.equals=worst

30 < .10
30.value = Anyway
30.if.equals=anyway

...

I don't know if it's all correct syntax, but I think the idea is obvious.

greetings
lee

> Hi!
> 
> Bartosz Aninowski wrote:
>> I have simple FCE with one selector box.
>>
>> <numIndex index="0" type="array">
>>   <numIndex index="0">0</numIndex>
>>   <numIndex index="1">0</numIndex>
>> </numIndex>
>> <numIndex index="1" type="array">
>>   <numIndex index="0">Best movies</numIndex>
>>   <numIndex index="1">best</numIndex>
>> </numIndex>
>>
>> What I want is to build link like this
>> <a href=?&what= numIndex index="1" > numIndex index="0" </a>
>>
>> Is it possible and how?
> 
> I have trouble understanding this link...
> 


More information about the TYPO3-project-templavoila mailing list