[TYPO3] realurl problem with duplicated entries in uniqalias table

Tania Morales tania.morales at gmail.com
Thu Sep 11 18:25:13 CEST 2008


Thanks, what  I would like to know is why is it possible to add a condition
directly in the alias_field that normally will be larger that the restricted
30 ? Was this added to have some kind of different result expecting to have
duplicates? How this condition should be used then?

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