Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 23, 2012 17:17:11 GMT -8
I figured I needed to do something with this: {foreach $[board.sub_board]}$[board.sub_board]$[board.sub_board.comma] {/foreach} But I'm not sure what I need to change that '.comma' to in order to have the subboards separated by a | instead.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 23, 2012 17:41:31 GMT -8
Try this...
{if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}$[board.sub_board]{if $[board.sub_board.index] < $[board.sub_board.lastIndex]} | {/if}{/foreach} </p> {/if}
|
|