Archive for the ‘Snippets’ Category

TYPO3: Alternative BE Backgroundcolor

The following Page TSConfig line is usefull if you have a lot of records on a single page. mod.web_list { alternateBgColors = 1 }

Read the rest of this entry »

TYPO3: Disable hide & prepend at copy

Personally I hate it when TYPO3 hides my new copied record. TYPO3 also prepends your new copied record with something like ‘copy (1)’. To avoid this you can put this code in your PageTSConfig: TCEMAIN.table.pages { disablePrependAtCopy = 1 disableHideAtCopy = 1 } TCEMAIN.table.tt_content { disablePrependAtCopy = 1 disableHideAtCopy = 1 }

Read the rest of this entry »

TYPO3: Clean up non used tt_content fields

In most cases I don’t use some tt_content fields, so it would be nice to don’t see them at all. Also for other backend users less is more (easy).  So let’s clean them up!

Read the rest of this entry »

TYPO3: Removing content element columns

Sometimes you need to make the TYPO3 BE as clean and empty as posible for other (read: less techical) users. In that case it can be usefull to remove non-used content columns. Here how to: Copy Paste this in your Page TSConfig TCEFORM.tt_content.colPos { altLabels { 1 = Left 0 = Normal 2 = Right [...]

Read the rest of this entry »

TYPO3: Encrypting your emailadresses by default

To reduce spam people have found numerous ways to place their email address on a website. TYPO3 can encrypt your emailadresses by default though. Just put the following lines in your Typoscript Setup: config.spamProtectEmailAddresses = 2 config.spamProtectEmailAddresses_atSubst = (at) Now all @ will be replaced by (at) and the link will be encrypted.

Read the rest of this entry »

TYPO3: Placing a content record on every page

Sometimes you want a record to be placed on every page and still to be in the TYPO3 backend as a dynamic record. Like a flash header plugin for example. Of course you can do this by placing the record on every page but that wouldn’t be very handy. Luckily it can be done a [...]

Read the rest of this entry »