For coders TYPO3 Tech Corner

[TYPO3] Get rid of (copy 1) in copied pages and content elements

[TYPO3] Get rid of (copy 1) in copied pages and content elements

You can switch off both with a little Page TSConfig (here using the example of the tables pages and tt_content):

TCEMAIN.table.pages { disablePrependAtCopy = 1 disableHideAtCopy = 1 } TCEMAIN.table.tt_content { disablePrependAtCopy = 1 disableHideAtCopy = 1 }

Alternatively, this is of course only possible for a specific area - i.e. from a PID:

[123 in tree.rootLineIds] TCEMAIN.table.pages { disablePrependAtCopy = 1 disableHideAtCopy = 1 } TCEMAIN.table.tt_content { disablePrependAtCopy = 1 disableHideAtCopy = 1 } [end]

Back

"Code faster, look at the time" - does this sound familiar to you?

How about time and respect for code quality? Working in a team? Automated tests?

Join us