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 <[EMAIL PROTECTED]>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@lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english > -- [EMAIL PROTECTED]@ _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english