|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi.
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? _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
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... -- Dmitry Dulepov TYPO3 freelancer / TYPO3 core team member Web: http://typo3bloke.net/ Skype: callto:liels_bugs _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#3
|
|||
|
|||
|
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... > _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#4
|
|||
|
|||
|
> 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. Thanks Lee for reply. Idea is obvious but not flexible enough _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-templavoila] Data structure selector content missing inflexible content element | Hans van Dijk | typo3-project-templavoila@lists.netfielders.de | 5 | 06.06.2007 08:44 |
| [TYPO3] Bugatti -> how to build menu in TS? | Michal Szostak | typo3-english@lists.netfielders.de | 1 | 25.05.2007 12:56 |
| [TYPO3-templavoila] LINK in FCE | Joachim Streit | typo3-project-templavoila@lists.netfielders.de | 4 | 27.04.2007 19:19 |
| [TYPO3-templavoila] Page Selector: Show pages according to usterrights | Matthias Kurz | typo3-project-templavoila@lists.netfielders.de | 6 | 14.04.2007 13:14 |
| [TYPO3] TemplaVoila FCE link targets | Benjamin Todd | typo3-english@lists.netfielders.de | 0 | 31.01.2007 13:12 |