Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Yesterday at 02:04 PM
Netherlord Posted April 25, 2015 Posted April 25, 2015 I was one of the few people that wanted the homepage of my site to be a forum thread list. Since moving from mybb. Now if you have just 1 forum its easy as the ip4 software does it for you. But if you want to do it and have another forum page it breaks and shows Categories instead. This is a workaround to allow you to have a threadlist homepage with the ability to still have more than 1 forum. Hopefully this helps someone else with the same desire. Step 1: Set default application to forums if it is not already. Step 2: Create the Forum Structure: Create a Category and then a sub forum (discussion), Then for each threadlist forum you want. Add to the last dicussion forum a subforum category with 1 sub forum (discussion) attached to it. - Note: This is only useful if you dont use 10+ discussions. I imagine if you do the standard would work better for you. ^^ SEE IMAGE FOR EXAMPLE OF STRUCTURE Step 3: Go into your forumDisplay template and remove the below code. {{if $forum->children()}} <div class='ipsList_reset cForumList ipsBox ipsSpacer_bottom' data-controller='forums.front.forum.forumList' data-baseURL=''> <h2 class='ipsType_sectionTitle ipsType_reset'>{lang="subforums_header"}</h2> {{if theme.forum_layout === 'grid'}} <div class='ipsAreaBackground ipsPad' data-role="forums"> <div class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='300' data-ipsGrid-maxItemSize='400' data-ipsGrid-equalHeights='row'> {{foreach $forum->children( 'view' ) as $childforum}} {template="forumGridItem" group="index" app="forums" params="$childforum"} {{endforeach}} </div> </div> {{else}} <ol class="ipsDataList ipsDataList_large ipsDataList_zebra ipsAreaBackground_reset"> {{foreach $forum->children( 'view' ) as $childforum}} {template="forumRow" group="index" app="forums" params="$childforum, TRUE"} {{endforeach}} </ol> {{endif}} </div> {{endif}} Voila Your Homepage is a Forum Threadlist - And you can still access the other forum pages via links you can add to your menu.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.