Amaury
Well-known member
I've been changing a lot of templates containing "datetime" and changing the comma separator to a vertical pipe separator between the username and date stamp or what have you as well as calling phrases in the templates (e.g., posted_by and posted). However, I am having trouble with the template for the conversation list.
This is how it currently is:
I want there to be a vertical pipe between the usernames and date stamp, so if I change this:
To this:
It works, but the problem is when there are three or more conversation participants, it displays like this:
There should be a comma after my name, not a vertical pipe.
Any help?
This is how it currently is:
I want there to be a vertical pipe between the usernames and date stamp, so if I change this:
Code:
<xen:if is="{$recipient.user_id} != {$conversation.user_id}"><xen:username user="$recipient">{xen:if $recipient.user_id, $recipient.username, {xen:phrase unknown_member}}</xen:username>,</xen:if>
To this:
Code:
<xen:if is="{$recipient.user_id} != {$conversation.user_id}"><xen:username user="$recipient">{xen:if $recipient.user_id, $recipient.username, {xen:phrase unknown_member}}</xen:username> |</xen:if>
It works, but the problem is when there are three or more conversation participants, it displays like this:
There should be a comma after my name, not a vertical pipe.
Any help?