[TYPO3-english] textpic-wrapping after upgrade to 6.2

Bernd Wilke t3n at pi-phi.de
Mon Feb 8 08:40:50 CET 2016


Am 07.02.2016 um 16:08 schrieb al chupanibre:
> never mind, found it out on my own.
>
> if somebody has the same problem:
>
> - edit the file typo3\sysext\csc_styled_content\static\setup.txt
> - search for the string "center-outer", 2 occurences
> - edit the line "0.value = <div class="csc-textpic [..]

don't do it this way!!!!!
you are changing the TYPO3 core!
and with the next update all your changes are gone and you need to patch 
the core anew.

> my setup.txt looks like this now:
> #0.value = <div class="csc-textpic-center-outer"><div
> class="csc-textpic-center-inner"> | </div></div>
> 0.value = |

a better solution:
do this modification to the given core typoscript in your own template:

search in the TSOB for all occurences of that wrap (it could be more 
than one because often TS is copied). then clear it or overwrite it with 
your (empty) wrap.
That is in general the way to modify the given TS as it is secure for 
updates.

> don't forget to clear the caches, temp-files and -tables..

as always.

bernd


More information about the TYPO3-english mailing list