Page 1 of 1

[SOLVED] CGUserDirectory, custom field separator

Posted: Tue Jul 02, 2013 10:51 am
by urheat
Hi!

When I list the details of a user, the fields of multiselect list are separted with comma, like:

cars: volvo,audi,citroen

I would like it to displayd like this:

cars: volvo - audi - citroen

or

cars
  • volvo
  • audi
  • citroen


In detail view template I use tag:
{$oneuser.properties.cars}

Re: CGUserDirectory, custom field separator

Posted: Tue Jul 02, 2013 2:01 pm
by urheat
It was pretty simple after all ;)

{$oneuser.properties.cars|replace:',':' · '}