#FF6600
Closet Spammer
31801
0
1
Nov 26, 2024 11:21:47 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Apr 5, 2019 12:15:40 GMT -8
usstalon.proboards.comHow do I get my Threads column back? I know it goes in the Layout Templates under the Board List, but I don't know what code to put in there, or where it should go. This is my current code: <tbody> {foreach $[board]} {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span> {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br> $[board.last_thread.last_post.created_by] <span class="date">$[board.last_thread.last_post.created_on]</span> {/if} {else} {/if} </td> </tr> {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="4"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {/foreach} {if !$[board]} <tr class="last"><td class="last center" colspan="5"> </td></tr> {/if} </tbody> </table>
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Apr 5, 2019 12:56:53 GMT -8
I'm guessing you don't have a thead with the column titles ("Board", "Threads", "Posts", "Last Post")? If not, try this. I just added the threads cell between main and latest, like it is by default: <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td> <table class="list" role="grid"> <tbody> {foreach $[board]} {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span> {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td> <td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br> $[board.last_thread.last_post.created_by] <span class="date">$[board.last_thread.last_post.created_on]</span> {/if} {/if} </td> </tr> {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="4"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {/foreach}
{if !$[board]} <tr class="last"><td class="last center" colspan="5"> </td></tr> {/if} </tbody> </table>
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 26, 2024 11:21:47 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Apr 5, 2019 13:33:31 GMT -8
I'm guessing you don't have a thead with the column titles ("Board", "Threads", "Posts", "Last Post")? If not, try this. I just added the threads cell between main and latest, like it is by default: Perfect!!! Thank you so much! Have a water balloon as thanks!
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Apr 5, 2019 13:38:41 GMT -8
|
|