JackieChun
Well-known member
I would like to limit the number of characters displayed for the "Location" field in the member info in postbit.
The purpose is to avoid lines from carrying over for excessively long fields, like this:
The relevant code in the style is this:
Can a character limit be introduced into this?
The purpose is to avoid lines from carrying over for excessively long fields, like this:
The relevant code in the style is this:
Code:
<xen:if is="@messageShowLocation AND {$user.location}">
<dl class="pairsJustified">
<dt>From:</dt>
<dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow"
itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
</dl>
</xen:if>
Can a character limit be introduced into this?