Info
- 8 posts
- 4 voices
- Started 2 years ago by rgregory1
- Latest reply from Adam Harley
- This topic is not resolved
Categories at the top?
-
- Posted 2 years ago #
Is there an easy way to put the categories at the top of the board?
-
- Posted 2 years ago #
For the front page or the whole site?
-
- Posted 2 years ago #
I'd like to know for both if it's just as easy to post, but probably the front page for the project I'm working on.
Thanks
-
- Posted 2 years ago #
Bump...
-
- Posted 2 years ago #
can u give me details to make catagories on top
-
- Posted 2 years ago #
<?php if ( bb_forums() ) : // List forums ?> <ul class="cat_list"> <?php while ( bb_forum() ) : ?> <?php if (bb_get_forum_is_category()) : ?> <li><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><li> <?php endif; ?> <? endwhile; ?> </ul> <?php endif; // bb_forums() ?>Put that in
header.phporfrontpage.phprespectively and use CSS to format.cat_list li -
- Posted 2 years ago #
Thanks mate, and then I remove the similar code at the bottom? Because if I understand correctly, I will then have two listings of forums.
-
- Posted 2 years ago #
Hmm? I accidentally left the comment saying
// List forumsin there, but in actual fact that will only return categories, not forums in them because it does thebb_get_forum_is_category()check. If you're referring to the normal forum code infrontpage.php, taking that out will take out the normal list of forums you see there, so I'm not sure if that's what you want to do. -
You must log in to post.