---
title: "Conditions in FCEs funzt nit"
url: "https://www.typo3.net/d/34964-conditions-in-fces-funzt-nit"
source: "typo3.net"
tags: ["Backend","Frage","Templates & Layouts"]
created: "2005-12-16"
last_reply: "2005-12-16"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Conditions in FCEs funzt nit

Backend · 2 Antworten · gestartet 2005-12-16

## Eröffnungsbeitrag

**monti** · 2005-12-16 · [Beitrag #1](https://www.typo3.net/d/34964-conditions-in-fces-funzt-nit/1)

Hallo miteinander,

kann es sein, dass Conditions in FCEs nicht finktionieren? Ich habe ein Feld vom Typ Link, das die ID der Seite beinhaltet, auf der der Link zeigen soll. Ich wollte nun mittels TS einen Link-Tag um die übergebene ID wrapen. Das funktioniert auch prima, bis ich mittels Conditions Mehrsprachigkeit erreichen wollte.

Hier der Code des DS:

```typoscript
...
<field_ov_link type="array">
                <tx_templavoila type="array">
                    <title>Link:</title>
                    <sample_data type="array">
                        <numindex index="0"></numindex>
                    </sample_data>
                    <etype>link</etype>
                    <typoscript>[CDATA[
         10 = TEXT
         10.field= field_ov_link
         10.value = field
         
         [globalVar = GP:L = 0]
         10.wrap = <a href="index.php?id= | &amp;L=1">more</a>
         [global]

         [globalVar = GP:L = 1]
         10.wrap = <a href="index.php?id= | &amp;L=1">mehr</a>
         [global]

          [globalVar = GP:L = 2]
         10.wrap = <a href="index.php?id= | &amp;L=2">más</a>
         [global]

          [globalVar = GP:L = 3]
          10.wrap = <a href="index.php?id= | &amp;L=3">suite</a>
          [global]

							]]></typoscript>
                    <proc type="array">
                        <hsc type="integer">0</hsc>
                    </proc>
                </tx_templavoila>
                <tceforms type="array">
                    <config type="array">
                        <type>input</type>
                        <size>15</size>
                        <max>256</max>
                        <checkbox></checkbox>
                        <eval>trim</eval>
                        <wizards type="array">
                            <_PADDING type="integer">2</_padding>
                            <link type="array" />
                                <type>popup</type>
                                <title>Link</title>
                                <icon>link_popup.gif</icon>
                                <script type="text/javascript">browse_links.php?mode=wizard</script>
                                <jsopenparams>height=300,width=500,status=0,menubar=0,scrollbars=1</jsopenparams>
                            </link>
                        </wizards>
                    </config>
                    <label>Link:</label>
                </tceforms>
            </field_ov_link>
...
```

Ich grübel da schon seit Tagen dran. Meiner Meinung gibt es zwei Möglichkeiten. 1. Conditions werden nicht unterstützt oder 2. die globalen Varialblen stehen für die Conditions nicht zu Verfügung.

Hat jemand eine Idee?

Gruß Monti

## Antworten

### [#2](https://www.typo3.net/d/34964-conditions-in-fces-funzt-nit/2) · db · 2005-12-16

> **monti schrieb:**
>
> ```typoscript
> [globalVar = GP:L = 0]
> 10.wrap = <a href="index.php?id= | &L=1">more</a>
> [global]
> ```

Ich nehme mal an, Deine Condition steht **innerhalb** von geschweiften Klammern. Das funktioniert nicht.

Viele Grüße

### [#3](https://www.typo3.net/d/34964-conditions-in-fces-funzt-nit/3) · monti · 2005-12-16

Nein stehen sie nicht. Das TS ist in die Data Structure DS eines FCEs (TemplaVoila) eingebettet.

Gruß Monti

---

Quelle: „Conditions in FCEs funzt nit“, typo3.net, https://www.typo3.net/d/34964-conditions-in-fces-funzt-nit
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
