XF 2.3 Hide a prefix in forum view... how?

beerForo

Well-known member
Sounds counterproductive but the use case is when you have a single prefix in a forum for the purpose of seeing that prefix in the new posts list with all the other prefixes but you do not need it to show in the forum itself since it is the only prefix there. Thanks.
 
when you have a single prefix in a forum for the purpose of seeing that prefix in the new posts list with all the other prefixes but you do not need it to show in the forum itself since it is the only prefix there. Thanks.
Not sure I follow, maybe one of these?


You only want to hide one prefix?

[data-template="forum_view"]
.prefix--name {
display:none;
}

Or you don't want any prefixes to show at all in the thread list?

[data-template="forum_view"]
.labelLink {
display:none;
}
 
Works great, thanks for the tag team solution.

Is there a more efficient way to code multiple forums or is this correct, all separately? Thanks!

Less:
[data-container-key="node-1"]
.labelLink {
display:none;
}

[data-container-key="node-2"]
.labelLink {
display:none;
}

[data-container-key="node-3"]
.labelLink {
display:none;
}
 
Works great, thanks for the tag team solution.

Is there a more efficient way to code multiple forums or is this correct, all separately? Thanks!

Less:
[data-container-key="node-1"]
.labelLink {
display:none;
}

[COLOR=rgb(20, 20, 20)].labelLink {[/COLOR]
display:none;
}

[data-container-key="node-3"]
.labelLink {
display:none;
}


Less:
[data-container-key="node-1"],[data-container-key="node-2"],[data-container-key="node-3"]
.labelLink {
display:none;}
 
That's what I tried before but it creates a blank page forum result for 1 and 3 but not the middle one. I tried again and same happens pasting yours.
 
Back
Top Bottom