inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Feb 4, 2013 2:25:50 GMT -8
Is it possible to put the sub-board list below the thread list in some boards/categories only?
We're a RP forum and OoC we tend to use them for Archive style functions so I'd like them at the bottom of the page, but IC they are sublocations so I'd like them at the top (where they are now)
|
|
inherit
onewillingsniper@hotmail.com
185552
0
Mar 13, 2014 12:52:02 GMT -8
Willing Sniper
559
November 2012
sergentpepper
|
Post by Willing Sniper on Feb 5, 2013 22:46:34 GMT -8
I would like to know how to do it too. But in all of my forums.
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Feb 7, 2013 8:32:30 GMT -8
Willing Sniper. What you want is easy Themes > Layout Templates > Board > Board Tab {if $[board.sub_board_list]} <div class="container boards"> <div class="title-bar"><h2>Sub-Boards</h2></div> <div class="content cap-bottom"> $[board.sub_board_list] </div> </div> {/if}
That if statement should be right at the top. Cut it and paste it below the next if statement (the whole thing, after the next /if that's right on the left side of the screen. (On mine there's a empty line just below where you want to paste it, line 37 maybe) I was hoping for some help with if statements to make this only apply in certain places. Anyone? (Though I've found reducing the threads per page from 40 to 10 and having the sub boards below the threads isn't to bad as with that few threads people can still see them.)
|
|
inherit
onewillingsniper@hotmail.com
185552
0
Mar 13, 2014 12:52:02 GMT -8
Willing Sniper
559
November 2012
sergentpepper
|
Post by Willing Sniper on Feb 7, 2013 10:05:14 GMT -8
Willing Sniper. What you want is easy Themes > Layout Templates > Board > Board Tab {if $[board.sub_board_list]} <div class="container boards"> <div class="title-bar"><h2>Sub-Boards</h2></div> <div class="content cap-bottom"> $[board.sub_board_list] </div> </div> {/if}
That if statement should be right at the top. Cut it and paste it below the next if statement (the whole thing, after the next /if that's right on the left side of the screen. (On mine there's a empty line just below where you want to paste it, line 37 maybe) I was hoping for some help with if statements to make this only apply in certain places. Anyone? (Though I've found reducing the threads per page from 40 to 10 and having the sub boards below the threads isn't to bad as with that few threads people can still see them.) Thank you very much
|
|
inherit
onewillingsniper@hotmail.com
185552
0
Mar 13, 2014 12:52:02 GMT -8
Willing Sniper
559
November 2012
sergentpepper
|
Post by Willing Sniper on Feb 7, 2013 21:07:31 GMT -8
Is there a way to show, or not show sub boards anymore?
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Feb 8, 2013 1:09:10 GMT -8
Not that I particularly appreciate you hijacking my thread for your own different purposes but....
What do you mean? If you just want to hide them ACP > Structure > Categories and Boards > then you can set the settings for any sub-boards just like normal boards.
If you want to hide the lists of them on the homepage put this in your global headers/the header of wherever you want to hide the sub-boards eg I use it in my OoC Category:
<style type="text/css"> .boards .main .sub-boards { display: none; } </style>
Can anyone help me with my if else problem of how to put my subboards below in only some categories? (I fail almost entirely at constructing if/else statements.
Thanks!
|
|
inherit
onewillingsniper@hotmail.com
185552
0
Mar 13, 2014 12:52:02 GMT -8
Willing Sniper
559
November 2012
sergentpepper
|
Post by Willing Sniper on Feb 8, 2013 13:36:24 GMT -8
Not that I particularly appreciate you hijacking my thread for your own different purposes but.... What do you mean? If you just want to hide them ACP > Structure > Categories and Boards > then you can set the settings for any sub-boards just like normal boards. If you want to hide the lists of them on the homepage put this in your global headers/the header of wherever you want to hide the sub-boards eg I use it in my OoC Category: <style type="text/css"> .boards .main .sub-boards { display: none; } </style>
Can anyone help me with my if else problem of how to put my subboards below in only some categories? (I fail almost entirely at constructing if/else statements. Thanks! Perfect thanks!
|
|