Marks-Man
Administrator
For example we chose this template :
Click to expand...
widget_forum_statistics
Click to expand...
Code:
<dd><xf:username user="{$forumStatistics.latestUser}" rich="true" /></dd>
Click to expand...
node_list_forum
node_list_category
thread_list_macros
xfrm_resource_list_macros
xfrm_resource_view
xfrm_resource_wrapper_macros
Click to expand...
- Look for this
<div class="contentRow-minor contentRow-minor--hideLinks">
<ul class="listInline listInline--bullet">
<li>{{ phrase('latest_x', {'name': $thread.last_post_cache.username}) }}</li>
<li><xf:date time="{$thread.last_post_date}" /></li>
</ul>
</div>
Click to expand...
- replace with this:
<div class="contentRow-minor contentRow-minor--hideLinks">
<ul class="listInline listInline--bullet">
<li><xf:username user="$thread.LastPoster" size="xxs" defaultname="{$thread.last_post_username}" rich="true"/></li>
<li><xf:date time="{$thread.last_post_date}" /></li>
</ul>
</div>
Click to expand...
xfrm_resource_list_macros
- Replace this
<div class="contentRow-main contentRow-main--close">
<a href="{{ link('resources', $resource) }}">{{ prefix('resource', $resource) }}{$resource.title}</a>
<div class="contentRow-lesser">{$resource.tag_line}</div>
<xf:if is="$withMeta">
<div class="contentRow-minor contentRow-minor--smaller">
<ul class="listInline listInline--bullet">
<li>{{ $resource.User.username ?: $resource.username }}</li>
<li>{{ phrase('updated:') }} <xf:date time="{$resource.last_update}" /></li>
</ul>
</div>
Click to expand...
- with
<div class="contentRow-main contentRow-main--close">
<a href="{{ link('resources', $resource) }}">{{ prefix('resource', $resource) }}{$resource.title}</a>
<div class="contentRow-lesser">{$resource.tag_line}</div>
<xf:if...
Click to expand...
Read more
Continue reading...