XF 2.0 How can I add "Latest:" and "By:" in front of text in this location?

Cannabis Ape

Active member
Probably easy to do but another Ape newbie question.

How can I in Forums add the texts from the tittle in this ↓ location.

4ijnbufl191z.png


Any help is highly appreciated :) :X3:
 
Try this as a last resort:
in template: node_list_forum
search
Code:
<li class="node-extra-user"><xf:username user="{{ {'user_id': $extras.last_post_user_id, 'username': $extras.last_post_username} }}" /></li>
Place a <br> after <li class="node-extra-user">
So the code would be:
Code:
<li class="node-extra-user"><br><xf:username user="{{ {'user_id': $extras.last_post_user_id, 'username': $extras.last_post_username} }}" /></li>
maybe.webp
 
I think the only thing he wants is a ::before content.
29196283877_d90b4b7849_o.png

CSS:
.structItem-cell.structItem-cell--latest::before {

    content: "Latest: ";

}

.structItem-cell.structItem-cell--latest > .structItem-minor::before {

    content: "By: ";

}
Thanks,.This came very close But, ↑ that is the thread list, I want to achieve this in the forum list like the way in my screenshot.

Oh dear god, i read wrong lol. Sorry guys.
Gheghe NP at all man.
 
It's similar for forum list, just press right click > inspect element on date, it will show you the date class. Take this instead of
.structItem-cell.structItem-cell--latest

And then inspect on user name. Take that class instead of
.structItem-cell.structItem-cell--latest > .structItem-minor
 
It's similar for forum list, just press right click > inspect element on date, it will show you the date class. Take this instead of
.structItem-cell.structItem-cell--latest

And then inspect on user name. Take that class instead of
.structItem-cell.structItem-cell--latest > .structItem-minor
Aight, I think I got it done.

It's
.node-extra-date::before {
and
#js-XFUniqueId1::before {
Right?

Edit: the second one is wrong for sure, I got the word by popping up on places it shouldn't belong
 
Back
Top Bottom