{"id":300,"date":"2010-11-11T14:06:49","date_gmt":"2010-11-11T14:06:49","guid":{"rendered":"https:\/\/www.taywa.ch\/blog\/?p=300"},"modified":"2017-04-03T09:17:00","modified_gmt":"2017-04-03T09:17:00","slug":"bei-mehrsprachigen-webseiten-beim-textpic-inhalt-image-vom-default-sprache-ubernehmen","status":"publish","type":"post","link":"https:\/\/www.taywa.ch\/blog\/typo3\/bei-mehrsprachigen-webseiten-beim-textpic-inhalt-image-vom-default-sprache-ubernehmen\/","title":{"rendered":"bei mehrsprachigen Webseiten beim textpic-Inhalt Image vom default Sprache \u00fcbernehmen"},"content":{"rendered":"<p>Als Ausgangslage hat man eine mehrsprachige Webseite im typo3. Man legt einen Inhalt mit Bild an und \u00dcbersetz diesen in mehrere Sprache. Jetzt will man das Bild \u00e4ndern, dies hat zur Folge, das man in jeder Sprache das Bild neu einf\u00fcgen muss. Wir wollen jedoch das Standartbild nur einmal bei der default Sprache angeben und diese sollte dann angezeigt werden:<\/p>\n<p>im setup braucht es daf\u00fcr:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nconfig.sys_language_overlay = 1\r\nconfig.sys_language_softMergeIfNotBlank = tt_content:image,  tt_content:imagewidth,  tt_content:imageheight,  tt_content:imageorient,  tt_content:imageborder,  tt_content:image_link\r\n<\/pre>\n<p>F\u00fcr Fluid Styled Content:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nconfig.sys_language_softMergeIfNotBlank = tt_content:assets,  tt_content:imagewidth,  tt_content:imageheight,  tt_content:imageorient,  tt_content:imageborder,  tt_content:image_link&amp;lt;\/pre&amp;gt;\r\n<\/pre>\n<p>Quelle:<a href=\"https:\/\/www.stephan-meier.com\/typo3-sys_language_softmergeifnotblank\"> https:\/\/www.stephan-meier.com\/typo3-sys_language_softmergeifnotblank<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\/\/ feld wird im BE nicht angezeigt\r\n\/\/$TCA&#x5B;'tt_content']&#x5B;'columns']&#x5B;'image']&#x5B;'l10n_mode'] = 'exclude';\r\n\/\/ image Feld wird im BE angezeigt und ein in der nicht default \r\n\/\/ Sprache vorhandenes Image \u00fcberschreibt das Image aus der default Sprache \r\n$TCA&#x5B;'tt_content']&#x5B;'columns']&#x5B;'image']&#x5B;'l10n_mode'] = 'mergeIfNotBlank';\r\n<\/pre>\n<p>mehr dazu: suche auf dieser Seite nach sys_language_softMergeIfNotBlank<br \/>\n<a href=\"http:\/\/www.typo3.net\/tsref\/setup\/config\/\">http:\/\/www.typo3.net\/tsref\/setup\/config\/<\/a><\/p>\n<p>Media und levelmedia Problem<\/p>\n<p>Ab TYPO3 7.6 LTS (extTables.php deprecticated, Vielleicht schon ab 6.2 LTS, aber ist nicht getestet)<\/p>\n<p>In LocalConfiguration.php, vielleicht besser \u00fcber das Installtool einf\u00fcgen, mit <strong>media<\/strong>\u00a0entfernen:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true \"> 'FE' =&gt; [\r\n        'pageOverlayFields' =&gt; 'uid,doktype,title,subtitle,nav_title,keywords,description,abstract,author,author_email,url,urltype,shortcut,shortcut_mode,media',\r\n    ],<\/pre>\n<p>&nbsp;<\/p>\n<p>Bugs und andere Posts:<\/p>\n<p>https:\/\/forge.typo3.org\/issues\/65863<br \/>\nhttps:\/\/forum.typo3.org\/index.php\/t\/112291\/<br \/>\nhttp:\/\/labor.99grad.de\/2016\/03\/11\/typo3-page-pages_language_overlay-um-eigenes-feld-erweitern-mit-slide-per-typoscript-vererben\/<\/p>\n<p><a href=\"http:\/\/blog.teamgeist-medien.de\/2014\/11\/typo3-fal-pages-language-overlay-und-media-files-lokalisierungen.html\">http:\/\/blog.teamgeist-medien.de\/2014\/11\/typo3-fal-pages-language-overlay-und-media-files-lokalisierungen.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Als Ausgangslage hat man eine mehrsprachige Webseite im typo3. Man legt einen Inhalt mit Bild an und \u00dcbersetz diesen in mehrere Sprache. Jetzt will man das Bild \u00e4ndern, dies hat zur Folge, das man in jeder Sprache das Bild neu einf\u00fcgen muss. Wir wollen jedoch das Standartbild nur einmal bei der default Sprache angeben und<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,11,4],"tags":[97,99,198,98,38,180,181],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-typo3","category-typo3_setup","category-typoscript","tag-exttables-php","tag-image","tag-sys_language_overlay","tag-sys_language_softmergeifnotblank","tag-tt_content","tag-typo3","tag-typoscript"],"_links":{"self":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":19,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":1196,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/300\/revisions\/1196"}],"wp:attachment":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}