Quote:
Originally Posted by DjEddie
Hi bobster, I've looked through the link you gave me, quick questions...
Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?
Thanks
|
No, you wouldn't install the whole thing, just use the content files ie, recentthreadsexp2.php for example and point a tab to it. You would do this manually in the template (for now). King K and I are working on something right now that we may talk Bree into using here which will allow specific additional content modules to be added to this as well..
Here is how to add an additional Tab for an external content file (s)
EDIT the smnlikquick TEMPLATE
I manually inserted an LI tag (IN RED) which will create an addition Tab .. all you need to do is create a content file, upload it, change the name of it in the line below, name your tab and yer golden. Works well with all the content files I have made for AJAX Tabs .. you just need to remark out the calls to any CMPS files that are not being used..
Code:
<table class="tborder" cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
<tr>
<td class="alt1">
<div id="tabs" class="indentmenu">
<ul>
$slq_bit
<li><a href="tabcontentfile.php" rel="tabcontainer">TAB NAME</a></li>
</ul>
<br style="clear: left" />
</div>
<div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
</div>
<script type="text/javascript">
var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)
</script>
</td>
</tr>
</table>
<br />