inherit
161465
0
Dec 25, 2013 1:56:31 GMT -8
MudBug93
50
December 2010
mudbug93
|
Post by MudBug93 on Apr 18, 2013 8:22:18 GMT -8
I used this plugin for skinning in the past, since I like to simply code my own tables and insert the links for my forum's layout. In the past, I used a plugin to hide the default forum layout/directory on the main page. <script type="text/javascript"> <!-- // Hide forum..
if(pb_action == 'home') { var forum = document.getElementsByTagName('a'); for(f=0; f<forum.length; f++) { if(forum[f].className == 'nav') { forum[f].parentNode.getElementsByTagName('table')[0].style.display = 'none'; break; }}} // --> </script>
Previous position: main footersIn the past I've used it here, and now I would like to use it on my beta, here. As you can see I already stuck my old boards into the main headers/footers of the beta, but need a way to hide the default directory, if that's possible. Thanks so much if anyone works this out for me!
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Apr 18, 2013 16:57:41 GMT -8
In your Home Template, look for the following;
foreach $[category]} $[category.anchor] <div class="container boards"> <div class="title-bar bbcode"><h2><div class="title_wrapper">$[category.display_name]</div></h2></div> <div class="content cap-bottom"> $[category.board_list] </div> </div> {/foreach}
Try removing that, and then hitting Preview. That should remove the boards themselves. There are other ways you could display the boards (modifying the original template to target each board, so that you can display it how you want, while keeping anchors etc), but this should work for you. Assuming everything looks how you want it to, just hit Save. =]
|
|
inherit
161465
0
Dec 25, 2013 1:56:31 GMT -8
MudBug93
50
December 2010
mudbug93
|
Post by MudBug93 on Apr 20, 2013 6:43:43 GMT -8
Worked like a charm, thank you! ^^;
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Apr 20, 2013 14:28:28 GMT -8
Worked like a charm, thank you! ^^; No worries MudBug93 =]
|
|