We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40249
    • 31 Posts
    Ich möchte Content anzeigen wenn bestimmte Template Variablen leer sind.

    Dachte da an sowas

    [[*data1:!empty:or:*data2:!empty:or:*data3:!empty:then=`<h4>subhead</h4>`]]

    sowas hier funktioniert ohne probleme
    [[*data1:!empty:then=`<h4>subhead</h4>`]]

    was mache ich da verkehrt? [ed. note: degoya last edited this post 10 years, 7 months ago.]
      • 4172
      • 5,888 Posts
      vielleicht so?
      Sobald eines der TVs Inhalt hat -> Ausgabe

      [[If?
      &subject=`[[*data1]][[*data2]][[*data3]]`
      &operator=`empty`
      &then=`<h4>subhead</h4>`
      ]]
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 40249
        • 31 Posts
        Quote from: Bruno17 at Aug 13, 2013, 09:20 PM
        vielleicht so?
        Sobald eines der TVs Inhalt hat -> Ausgabe

        [[If?
        &subject=`[[*data1]][[*data2]][[*data3]]`
        &operator=`empty`
        &then=`<h4>subhead</h4>`
        ]]

        genau das wars was ich benötigt habe.

        Danke Bruno17