Archive for October, 2007

Got to use the command line thingies in linux more often

Wednesday, October 24th, 2007

The absolutely best advantage of using a Linux/*nix based OS is the shell applications and functions. I’m quite far from good at utilising it. I guess it mostly depends on that you need to use it often to remember all the flags and things. Still usefull and quick when you know your way around. Take for instance this simple line of command:

find . -cmin -20 -ls

This list all files in the current folder that are modified within the last 20 minutes. Nifty and quite basic. Your number one resource to getting to know the commands is the man command (man like in manual)

man find

And you know how you do it..

ignore localization of images for text w/image in TYPO3

Wednesday, October 3rd, 2007

A short one. TYPO3 is amazing when (amongst other things) it comes to localization of website contents. The documentation is quite good to around the subject, which is quite rare when it comes to TYPO3 otherwise. However, today I had totaly forgotten how to, or even if it was possible to, only localize the text part for text w/image elements. After some reading I found this great typoscript key

  1. config.sys_language_softMergeIfNotBlank = tt_content:image, tt_content:header

What this actually does when put in you TS template (together with the rest of the localization settings) is saying that TYPO3 should softly and nicely merge the image and header fields of a content element if it’s not translated into the other translated materials.

Go TYPO3 I say :)