<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>
<div class="contentRow-minor contentRow-minor--hideLinks">
<ul class="listInline listInline--bullet">
<li><xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_cache.username}" /></li>
<li><xf:date time="{$thread.last_post_date}" /></li>
</ul>
</div>
ACP > Appearance > Templates > forum_new_posts. Note you won't be able to change the order by modifying the template.
You can remove the category link and make the user name clickable in the template. Sorry, I misunderstood you. I thought you meant you wanted to change the order the posts are displayed in the list (which is not possible with just a template change), not the order of the post title and post date within in each line - which is possible.How would I do that then? I wanted to remove the category link and wanted the username clickable and under the thread title, with the date next to it.
AwesomeFIXED.
Awesome
What changes did you end up making, in case others want to make similar changes?
I believe the way to do it is to replace this:
Code:<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>
With this:
Code:<div class="contentRow-minor contentRow-minor--hideLinks"> <ul class="listInline listInline--bullet"> <li><xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_cache.username}" /></li> <li><xf:date time="{$thread.last_post_date}" /></li> </ul> </div>
Someone let me know if I'm wrong
<div class="contentRow-minor contentRow-minor--hideLinks">
<ul class="listInline listInline--bullet">
<li>{{ phrase('started_by_x', {'name': $thread.username}) }}</li>
<li><xf:date time="{$thread.post_date}" /></li>
<li>{{ phrase('replies:') }} {$thread.reply_count|number_short}</li>
</ul>
</div>
<div class="contentRow-minor contentRow-minor--hideLinks">
<ul class="listInline listInline--bullet">
<li><xf:username user="{$thread.username}" defaultname="{$thread.username}" /></li>
<li><xf:date time="{$thread.post_date}" /></li>
<li>{$thread.reply_count|number_short} replies</li>
</ul>
</div>
We use essential cookies to make this site work, and optional cookies to enhance your experience.