Wednesday, September 18, 2013

How to Easily Arrange Subforum In 3 Columns On IP. Board

How to Easily Arrange Subforum In 3 Columns On IP. Board. to set up 3 columns in the sub forums properly please follow the tutorial that I will give below.

Step 1: Template Edit
  • Go to Admin CP
  • Look & Feel 
  • ( skin name )
  • Board Index
  • boardIndexTemplate

Find:

<ol class='subforums'> 

<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> 

<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else />

<li>

</if> 

<a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a>

</li> 

</foreach> 

</ol> 


replace with :
 <ol class='subforums1'> 

<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> 

</ol> 


<ol class='subforums2'> 

<if test="showSubForumsLit:|:$__data[3]"> 

</foreach> 

</ol> 



<ol class='subforums3'> 

<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> 

</ol> 


<ol class='subforums'> 

<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if> 

<a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li> 

</foreach> 

</ol> 


Save




Step 2: CSS Edit

  • Go to Admin CP
  • Look & Feel
  • ( skin name )
  • CSS
  • ipb_styles.css

find :

table.ipb_table ol.subforums { 
margin-top: 3px; 
float: left; 
width: 50%; 
} 

replace with :

table.ipb_table ol.subforums { 
margin-top: 3px; 
float: left; 
width: 33%; 
} 

table.ipb_table ol.subforums1 { 
width: 33%; 
} 

table.ipb_table ol.subforums2 { 
width: 33%; 
}

Save

How to Easily Arrange Subforum In 3 Columns On IP. Board


It is How to Easily Arrange Subforum In 3 Columns On IP. Board, Hopefully useful and useful for you!

thumbnail Title: How to Easily Arrange Subforum In 3 Columns On IP. Board
Posted by:Stuard Van
Published :2013-09-18T10:00:00-07:00
Rating: 5
Reviewer: 5 Reviews
How to Easily Arrange Subforum In 3 Columns On IP. Board
Share :
Related articles:

0 comments :

Post a Comment