Deleted
inherit
guest@proboards.com
251770
0
Oct 1, 2023 8:41:36 GMT -8
Deleted
0
January 1970
Deleted
|
Post by Deleted on Feb 6, 2019 16:25:11 GMT -8
How would I go about something like this?
{if $[route.board] == '40'}
tessst
{if.else}
{else}
$[board.description]
{/if}
|
|
#eb7100
33409
0
1
Sept 28, 2023 18:59:48 GMT -8
Brian
48,123
November 2004
smashmaster3
|
Post by Brian on Feb 6, 2019 17:27:24 GMT -8
Which layout template are you modifying? The variable you need to use is dependent upon this.
|
|
Deleted
inherit
guest@proboards.com
251770
0
Oct 1, 2023 8:41:36 GMT -8
Deleted
0
January 1970
Deleted
|
Post by Deleted on Feb 6, 2019 18:54:49 GMT -8
Just the board list, I'm trying to specify different layouts depending on the board ID. <3
|
|
#eb7100
33409
0
1
Sept 28, 2023 18:59:48 GMT -8
Brian
48,123
November 2004
smashmaster3
|
Post by Brian on Feb 7, 2019 10:23:00 GMT -8
$[board.id] should suffice in that case, assuming you're making the changes inside the {foreach $[board]} loop.
|
|
Deleted
inherit
guest@proboards.com
251770
0
Oct 1, 2023 8:41:36 GMT -8
Deleted
0
January 1970
Deleted
|
Post by Deleted on Feb 11, 2019 16:32:37 GMT -8
Thank you Brian, exactly what I needed. Seems so obvious now though.
|
|