[TYPO3] realurl problem with duplicated entries in uniqalias table
Ralf-René Schröder
ralf.rene at online.de
Thu Sep 11 10:41:34 CEST 2008
Tania Morales schrieb:
> I have a problem when i try to create friendly urls for our users profile
> page, sometimes the real name is empty so then we need to use the nick name:
> mydomain.com/user-profile/name/john-smith
> mydomain.com/user-profile/name/john-s
>
> To acomplish that i have found that is possible to add a condition to the
> "alias_field" option, and it works fine :
> 'IF(LENGTH(TRIM(realname))>0,realname,nickname)'
i couldn't help you to solve your problem, but using realname would
create duplicate URLs, because the realname isn't unique - the nickname
normaly could it be (surly you must test this)
René
More information about the TYPO3-english
mailing list