MyBB Community Forums

Full Version: MyBB Central's Tabbed Menu Cuts My Theme in Half
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a custom made theme and i'm trying to get Tabbed Menu to work on it. An issue i'm having is that it cuts off my footer and board stats.

My index template:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$tabmenu}
{$forums}
<script type="text/javascript">
<!--//
var myflowers=new ddtabcontent("menutabs")
myflowers.setpersist(true)
myflowers.init()
-->
</script>
{$boardstats}
{$footer}
</body>
</html>

I experimented with the code and when i removed:
<script type="text/javascript">
<!--//
var myflowers=new ddtabcontent("menutabs")
myflowers.setpersist(true)
myflowers.init()
-->
from the index, my footer and board stats were fine however the tabs didnt work.

Can anyone who is good with code see why this chunk of code is making everything below it not display at all?

Would really appreciate it if someone could supply me with a working way to fix this. Thanks!
AdminCP > Templates & Style > Templates > Your Theme Templates > Forumbit Templates > forumbit_depth1_cat

Add
</div>
to the bottom of the template.
(2013-12-03, 10:55 PM)Spark Wrote: [ -> ]AdminCP > Templates & Style > Templates > Your Theme Templates > Forumbit Templates > forumbit_depth1_cat

Add
</div>
to the bottom of the template.

Thanks mate!