TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 27.07.2007, 10:10
Bartosz Aninowski
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] build link from selector box

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 31.07.2007, 10:19
Dmitry Dulepov
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] build link from selector box

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 31.07.2007, 12:04
lee perry
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] build link from selector box

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 01.08.2007, 08:14
Bartosz Aninowski
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] build link from selector box

> 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:26 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77