[TYPO3-dev] Uniqueness of page aliases

Steffen Müller typo3 at t3node.com
Thu May 15 18:42:18 CEST 2008


Hi.

On 15.05.2008 17:27 Christian Lerrahn wrote:

> Is there any chance that the uniqueness of aliases could be made
> optional?

just reconfigure the TCA:
$TCA['pages']['columns']['alias']['config']['eval'] = 
'nospace,alphanum_x,lower,unique';

I used to place this in typo3conf/extTables.php
$GLOBALS['TCA']['pages']['columns']['alias']['config']['eval'] = 
'nospace,alphanum_x,lower';

But maybe this is old school and there's a better place for TCA 
configuration?!

In general, it is a good idea to have it unique, because otherwise, 
one-tree/non-realurl users would be in trouble. You can change it in 
other cases.

-- 
cheers,
Steffen




More information about the TYPO3-dev mailing list