21. 04. 2010, 11:32

Hallo liebes Forum

Habe den TinyMCE auf TYPO3 4.3.2 installiert.
Was ich noch nicht hinbekommen habe ist die Typoscript-Konfiguration mittels von Conditions.

Ich habe eigene HTML-Templates erstellt die über den "Insert predefined Template"-Button in den Editor integriert werden. Das klappt bis auf die Außnahme, dass ich für jede Sprache eigene Templates benötige. Im Page-TS habe ich hierzu versucht mit Conditions zu arbeiten, die aber leider nicht funktionieren:

  1. RTE.default.init {
  2.  
  3. template_templates {
  4. 10 {
  5. [globalVar = GP:L = 0]
  6. title = About Saving UKV
  7. include = EXT:tinymce_rte/res/tinymce_templates/aboutsaving_UKV.html
  8. description = Adds the About Saving Template into the Editor
  9. [global]
  10.  
  11. [globalVar = GP:L = 1]
  12. title = About Saving NOE
  13. include = EXT:tinymce_rte/res/tinymce_templates/aboutsaving_NOE.html
  14. [global]
  15.  
  16. [globalVar = GP:L = 2]
  17. title = About Saving Español
  18. include = EXT:tinymce_rte/res/tinymce_templates/aboutsaving_SPA.html
  19. [global]
  20. }
  21. }
  22. }

Im Template-Setup-TS habe ich die Sprachen nach folgendem Beispiel angelegt:

  1. config.linkVars = L
  2. config.uniqueLinkVars = 1
  3.  
  4. config.language = en
  5. config.locale_all = en_GB
  6. config.sys_language_uid = 0
  7.  
  8. [globalVar = GP:L = 0]
  9. config.language = en
  10. config.locale_all = en_GB
  11. config.sys_language_uid = 0
  12. [global]
  13.  
  14. [globalVar = GP:L = 1]
  15. config.language = de
  16. config.locale_all = de_DE
  17. config.sys_language_uid = 1
  18. [global]

Vielleicht weiß jemand Rat?
Merci