[SOLVED] CGUserDirectory, custom field separator

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

[SOLVED] CGUserDirectory, custom field separator

Post 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}
Last edited by urheat on Tue Jul 02, 2013 2:02 pm, edited 1 time in total.
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: CGUserDirectory, custom field separator

Post by urheat »

It was pretty simple after all ;)

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

Return to “Modules/Add-Ons”