Post by Alanna 🥀🖤 on Feb 5, 2017 21:20:09 GMT -8
For in the Board layout template, to add some variables to be able to add a label's list that are on that specific board. Like so:
So there can be a list at the top of the board/thread list and people can click them there and bring up only threads with those labels. It is currently possible to do manually like so (but it would be SO MUCH EASIER to have variables):
{if $[board.labels]}
{foreach $[board.labels]}
$[board.label],
{/foreach}
{/if}
So there can be a list at the top of the board/thread list and people can click them there and bring up only threads with those labels. It is currently possible to do manually like so (but it would be SO MUCH EASIER to have variables):
{if $[board.display_name] == "Discussion"}
<div class="labeltags">
<a href="/board/4/discussion?filters[]=label_id:eq:1">FML</a>
<a href="/board/4/discussion?filters[]=label_id:eq:4">Fandom</a>
<a href="/board/4/discussion?filters[]=label_id:eq:5">Game</a>
<a href="/board/4/discussion?filters[]=label_id:eq:2">Party Popper</a>
<a href="/board/4/discussion?filters[]=label_id:eq:3">Rant</a>
<a href="/board/4/discussion?filters[]=label_id:eq:8">Role Play</a>
</div>
{elseif $[board.display_name] == "Remodels"}
<div class="labeltags">
<a href="">Banner</a>
<a href="">Thread/Convo List</a>
<a href="">Mini Profile</a>
<a href="">Profile</a>
<a href="">Info Center</a>
<a href="">Original</a>
</div>
{elseif $[board.display_name] == "Templates"}
<div class="labeltags">
<a href="">Site Essential</a>
<a href="">Application</a>
<a href="">Shipper</a>
<a href="">Tracking</a>
<a href="">Communication</a>
<a href="">Threading</a>
<a href="">Misc</a>
</div>
{elseif $[board.display_name] == "Galleries"}
<div class="labeltags">
<a href="">Beginner</a>
<a href="">Intermediate</a>
<a href="">Advanced</a>
<a href="">Elite</a>
</div>
{/if}