Wyvh
Member
Greetings,
I have set the following code in the message_user_info template to show up a different phrase if user's like count = 1 or not.
Somehow, the following is showing (I checked on my personnal account which has more than 1 like)
<de>user_clicked_pl"</de>
If needed, here's the phrase used: This user's content has been liked {count} times
Any idea ?
Thank you.
I have set the following code in the message_user_info template to show up a different phrase if user's like count = 1 or not.
Code:
<xen:if is="{xen:number $user.like_count} == 1"><de>{xen:phrase user_clicked_sg, 'count={xen:number $user.like_count}'}"</de></xen:if>
<xen:if is="{xen:number $user.like_count} != 1"><de>{xen:phrase user_clicked_pl, 'count={xen:number $user.like_count}'}"</de></xen:if>
Somehow, the following is showing (I checked on my personnal account which has more than 1 like)
<de>user_clicked_pl"</de>
If needed, here's the phrase used: This user's content has been liked {count} times
Any idea ?
Thank you.