[TYPO3] realurl problem with duplicated entries in uniqalias table

Tania Morales tania.morales at gmail.com
Thu Sep 11 18:28:14 CEST 2008


Thanks René, unfortunately, our older users have nicknames but the newest
ones don't (That came from a superior order)  so that is why this condition
is important.

On Thu, Sep 11, 2008 at 3:41 AM, Ralf-René Schröder <ralf.rene at online.de>wrote:

> 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é
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



-- 
T at ni@


More information about the TYPO3-english mailing list