Amaury
Well-known member
Currently, if you want something like this on the member card, for example:
You can't just remove or move individual items. As the items (Gender, Age, and Location) are all part of the user blurb, you have to comment out or remove the user blurb entirely and then add something like this wherever you want the items to appear. And even then, you have to do some extra work because, for example, they'll display as all lowercase (gender instead of Gender) for some reason even if we type them in with the first letter capitalized or use the existing phrases.
I don't mind doing work, obviously, but it would be so much more simple and incredibly useful if there were options appropriately under the Member Profile Page and Member Card style property categories to control the display of these on the member card and view. Either that or just have individual pieces of code for the three items in the respective member_card and member_view templates (and whatever other templates they may appear in) rather than one user blurb encompassing all three items. Either way will accomplish the same thing and allow us more flexibility.
You can't just remove or move individual items. As the items (Gender, Age, and Location) are all part of the user blurb, you have to comment out or remove the user blurb entirely and then add something like this wherever you want the items to appear. And even then, you have to do some extra work because, for example, they'll display as all lowercase (gender instead of Gender) for some reason even if we type them in with the first letter capitalized or use the existing phrases.
Code:
<span class="col">
<xen:if is="{$user.gender}">
<dt>Gender:</dt> <dd><span style="text-transform: capitalize;">{$user.gender}</span></dd>
</xen:if>
<xen:if is="{$user.age}">
<dt>Age:</dt> <dd>{$user.age}</dd>
</xen:if>
<xen:if is="{$user.location}">
<dt>Location:</dt> <dd><a target="_blank" href="misc/location-info?location={$user.location}">{$user.location}</a></dd>
</xen:if>
</xen:hook>
</span>
I don't mind doing work, obviously, but it would be so much more simple and incredibly useful if there were options appropriately under the Member Profile Page and Member Card style property categories to control the display of these on the member card and view. Either that or just have individual pieces of code for the three items in the respective member_card and member_view templates (and whatever other templates they may appear in) rather than one user blurb encompassing all three items. Either way will accomplish the same thing and allow us more flexibility.
Upvote
2