Quote:
Originally Posted by khb1st
I am trying to use this wonderful mod, but probably should be sleeping by now,
anyway
I do not get the "tabs", only underlined forum names, that link to nothing
I am having trouble understanding which variables go where
<li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
href="#"....forum id # ??
rel="tcontent1"...??????
Tab 1 Name.......name of forum area ??
<!-- Tabbed Forum Home – START Tab 2 Content Layout -->
<div id="tcontent2" class="tabcontent">
id="tcontent2...........same as above ?????????????
class="tabcontent".............?????????????
thanks
these are probably very easy answers, that I cannot see at the moment
|
In this part, you only need to be concerned with the Red and Blue colors. The Red (Tab Names) are the text you want to appear on the Tabs themselves. The Blue highlited text identifies the DIV Containers that will contain the data (See both Code Areas)...
class="tabcontent" is part of the CSS File that determines the CSS portion that is used for the particular element.
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 -->
Code:
<!-- Tabbed Forum Home – START Tab 1 Content Layout -->
<div id="tcontent1" 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>
$forumbits
<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 1 Content Layout -->