Quote:
Originally Posted by viganothing
can you send me the info plz , i'm having the same problem
|
I sent him a PM asking Him for additional info so I could trouble shoot his problem ..
His problem was that he didn't complete the install instructions. He had 3 tabs, but only 2 content areas.. the number of content areas needs to match the number of tabs...
ie..
This is the part where you determine the number of "tabs" In this example, there are 3 Tabs and each tab is associated with a content area ie... rel="tcontent1"
Code:
<!-- Tabbed Forum Home Tabs Layout -->
<ul id="forumtabs" class="shadetabs">
<li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
<li><a href="#" rel="tcontent2">Tab 2 Name</a></li>
<li><a href="#" rel="tcontent3">Tab 3 Name</a></li>
</ul>
<!-- /Tabbed Forum Home Tabs Layout -->
For the above example to work, you need to have the 3 content areas ... rel="tcontent1" , rel="tcontent2" , rel="tcontent3"
This is a sample content area.. I personally start out (and end) each content area with a comment to identify it. You will notice that the first line of code is a Div with the content ID that matches the specific tab. Make sure that there is only one content area for each of your tabs..
Code:
<!-- Tabbed Forum Home ? START Tab 2 Content Layout -->
<div id="tcontent2" class="tabcontent">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
<!-- CUSTOM tbody CODE BASED ON YOUR STYLE -->
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_66')"><img id="collapseimg_forumbit_66" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=6">CATEGORY NAME</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_66" style="">
$forumbits2
</tbody>
<!-- /CUSTOM tbody CODE BASED ON YOUR STYLE -->
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
</div>
<!-- /Tabbed Forum Home ? END Tab 2 Content Layout -->
If you have more Tabs then you have content areas, the entire system won't work correctly....