[Frage] Mehrsprachiges Logo per Typoscript [Gelöst] TYPO3-Version: -

  • celmedia celmedia
    Padawan
    0 x
    49 Beiträge
    2 Hilfreiche Beiträge
    22. 09. 2014, 18:15

    Ich lade per Typoscript ein Bild welches jedoch ein Englishen oder Deutschen Slogen hat...
    wie kann ich nun definieren das beim der English Site das Eine und beim Deutschen das andere Bild geladen wird?

    ich habe folgendes im Typoscript da es ein Roll Over ist sind es ja zwei bilder :

    1. LOGOBUTTON1 = IMAGE
    2. LOGOBUTTON1 {
    3. file = fileadmin/sys/holding/public/image/antrimonholdinglogo.png
    4. imageLinkWrap.enable = 1
    5. imageLinkWrap.typolink.parameter = 1
    6. params = style="position:absolute;" class="blur1"
    7. }
    8. LOGOBUTTON2 = IMAGE
    9. LOGOBUTTON2 {
    10. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-omo.png
    11. imageLinkWrap.enable = 1
    12. imageLinkWrap.typolink.parameter = 1
    13. params = class="blur2"
    14. }

    besten dank für eure hilfe

  • celmedia celmedia
    Padawan
    0 x
    49 Beiträge
    2 Hilfreiche Beiträge
    23. 09. 2014, 11:45 - Lösung

    ach jenses... du rettest mir immer wieder den tag ... hammer besten dank ...

    1. LOGOBUTTON1 = IMAGE
    2. LOGOBUTTON1 {
    3. file = fileadmin/sys/holding/public/image/antrimonholdinglogo.png
    4. imageLinkWrap.enable = 1
    5. imageLinkWrap.typolink.parameter = 1
    6. params = style="position:absolute;" class="blur1"
    7. }
    8. LOGOBUTTON2 = IMAGE
    9. LOGOBUTTON2 {
    10. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-omo.png
    11. imageLinkWrap.enable = 1
    12. imageLinkWrap.typolink.parameter = 1
    13. params = class="blur2"
    14. }
    15.  
    16. [globalVar = GP:L = 1]
    17.  
    18. LOGOBUTTON1 = IMAGE
    19. LOGOBUTTON1 {
    20. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-en.png
    21. imageLinkWrap.enable = 1
    22. imageLinkWrap.typolink.parameter = 1
    23. params = style="position:absolute;" class="blur1"
    24. }
    25. LOGOBUTTON2 = IMAGE
    26. LOGOBUTTON2 {
    27. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-omo-en.png
    28. imageLinkWrap.enable = 1
    29. imageLinkWrap.typolink.parameter = 1
    30. params = class="blur2"
    31. }
    32. [global]

  • Hilfreichster Beitrag

  • jenses jenses
    Flash Gordon
    1 x
    3087 Beiträge
    106 Hilfreiche Beiträge
    23. 09. 2014, 07:52 - Hilfreichster Beitrag

    Das Stichwort lautet Condition.
    Beispiel:
    [code]...
    TS für deutsche Version
    ...
    [globalVar = GP:L = 1]
    ...
    TS für englische Version
    ...
    [global](unter Voraussetzung, daß die englische Sprache die Uid 1 hat)
    [/code]


  • 1
  • jenses jenses
    Flash Gordon
    1 x
    3087 Beiträge
    106 Hilfreiche Beiträge
    23. 09. 2014, 07:52

    Das Stichwort lautet Condition.
    Beispiel:
    [code]...
    TS für deutsche Version
    ...
    [globalVar = GP:L = 1]
    ...
    TS für englische Version
    ...
    [global](unter Voraussetzung, daß die englische Sprache die Uid 1 hat)
    [/code]

  • celmedia celmedia
    Padawan
    0 x
    49 Beiträge
    2 Hilfreiche Beiträge
    23. 09. 2014, 11:45

    ach jenses... du rettest mir immer wieder den tag ... hammer besten dank ...

    1. LOGOBUTTON1 = IMAGE
    2. LOGOBUTTON1 {
    3. file = fileadmin/sys/holding/public/image/antrimonholdinglogo.png
    4. imageLinkWrap.enable = 1
    5. imageLinkWrap.typolink.parameter = 1
    6. params = style="position:absolute;" class="blur1"
    7. }
    8. LOGOBUTTON2 = IMAGE
    9. LOGOBUTTON2 {
    10. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-omo.png
    11. imageLinkWrap.enable = 1
    12. imageLinkWrap.typolink.parameter = 1
    13. params = class="blur2"
    14. }
    15.  
    16. [globalVar = GP:L = 1]
    17.  
    18. LOGOBUTTON1 = IMAGE
    19. LOGOBUTTON1 {
    20. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-en.png
    21. imageLinkWrap.enable = 1
    22. imageLinkWrap.typolink.parameter = 1
    23. params = style="position:absolute;" class="blur1"
    24. }
    25. LOGOBUTTON2 = IMAGE
    26. LOGOBUTTON2 {
    27. file = fileadmin/sys/holding/public/image/antrimonholdinglogo-omo-en.png
    28. imageLinkWrap.enable = 1
    29. imageLinkWrap.typolink.parameter = 1
    30. params = class="blur2"
    31. }
    32. [global]

  • 1