Former Member
inherit
guest@proboards.com
227384
0
Nov 28, 2024 0:29:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 31, 2017 9:28:21 GMT -8
Hi all, I know there's a "Thread Description" plugin but that's not what I want. I was hoping for a thread header plugin, essentially replacing the board's header but only when a thread is clicked on. I want the board's header to remain on the main board page. I posted a moment ago with regards to trying to figure out how to disable the board's header because I don't like that the board header repeats itself when a thread is clicked on. I want threads to have their own description header, basically. That previous post will have some background and visuals with what I'm hoping to attain. I'm around if there's any further questions.
|
|
Former Member
inherit
guest@proboards.com
227384
0
Nov 28, 2024 0:29:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 1, 2017 10:58:10 GMT -8
Bump
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Sept 2, 2017 5:33:27 GMT -8
Can do this in the forum wrapper layout template.
Example:
{if $[route.name] == "thread"} You are in a thread {else} <div id="banner-container" role="banner"> <h2 id="banner"> $[forum.title] </h2> </div> {/if}
|
|
Former Member
inherit
guest@proboards.com
227384
0
Nov 28, 2024 0:29:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 3, 2017 7:30:35 GMT -8
I'm not sure what you mean? Is that just copy and paste, or would I need to do something more?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Sept 4, 2017 4:55:08 GMT -8
@alianaliliiharosi ,
It was an example of how to use templating logic.
Basically you want to wrap the header (part you don't want displayed in threads) inside.
{if $[route.name] != "thread"} Your header goes here. Anything here would get displayed as normal unless viewing a thread {/if}
|
|