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:
RTE.default.init { template_templates { 10 { [globalVar = GP:L = 0] title = About Saving UKV include = EXT:tinymce_rte/res/tinymce_templates/aboutsaving_UKV.html description = Adds the About Saving Template into the Editor [global] [globalVar = GP:L = 1] title = About Saving NOE include = EXT:tinymce_rte/res/tinymce_templates/aboutsaving_NOE.html [global] [globalVar = GP:L = 2] title = About Saving Español include = EXT:tinymce_rte/res/tinymce_templates/aboutsaving_SPA.html [global] } } }
Im Template-Setup-TS habe ich die Sprachen nach folgendem Beispiel angelegt:
config.linkVars = L config.uniqueLinkVars = 1 config.locale_all = en_GB config.sys_language_uid = 0 [globalVar = GP:L = 0] config.locale_all = en_GB config.sys_language_uid = 0 [global] [globalVar = GP:L = 1] config.locale_all = de_DE config.sys_language_uid = 1 [global]
Vielleicht weiß jemand Rat?
Merci