PREVIEW:
========================================================================
========================================================================
PROCEDURE IN CPANEL:
========================================================================
========================================================================
NOTE: Before Editing Our Skin Templates,
Lets Bakup first the xml.
NOTE: Before Editing Our Skin Templates,
Lets Bakup first the xml.
========================================================================
========================================================================
PROCEDURE IN ADMIN PANEL:
1. Click Styles & Templates Dropdown Arrow========================================================================
2. Style Manager
3. Click dropdown arrow of your skin
4. Click edit templates
5. Double Click Forum Home Tempalte
6. Double Click FORUMHOME
7. Copy all code to notepad(for backup purpose)
8. Find </head>
9. Paste this code above </head>
<!-- Tabbed Forum Home Header Code -->
<link rel="stylesheet" type="text/css" href="/clientscript/tabs/ajaxtabs.css" />
<script type="text/javascript" src="/clientscript/tabs/ajaxtabs.js"> </script>
<!-- /Tabbed Forum Home Header Code -->
========================================================================
10. FIND <!-- main -->
11. Copy all the code from <!-- main --> to <!-- /main -->... save it to notepad
( you will need this for FORUMHOMETAB )
12. Replace the code from <!-- main --> to <!-- /main --> with this code: (after replace,. Click SAVE)
<!-- main -->
<!-- Tabbed Forum Home -->
<div id="ajaxTFH" class="TFHmenu2">
<ul>
<li class="selected"><a href="tabforumhome.php?tabcat[]=1" rel="ajaxTFHcontentarea">Main Area</a></li>
<li><a href="tabforumhome.php?tabcat[]=3" rel="ajaxTFHcontentarea">Mobile</a></li>
<li><a href="tabforumhome.php?tabcat[]=5" rel="ajaxTFHcontentarea">Product</a></li>
<li><a href="tabforumhome.php?tabcat[]=7" rel="ajaxTFHcontentarea">Interest</a></li>
<li><a href="tabforumhome.php?tabcat[]=9" rel="ajaxTFHcontentarea">IPE Tutorlias</a></li>
<li><a href="tabforumhome.php?tabcat[]=11" rel="ajaxTFHcontentarea">VIP</a></li>
</ul>
</div>
<br style="clear: left" />
<div class="TFHmenu2line"></div>
<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: transparent; padding: 0px"></div>
<script type="text/javascript">
var mytabs=new ddajaxtabs("ajaxTFH", "ajaxTFHcontentarea")
mytabs.setpersist(true)
mytabs.setselectedClassTarget("link")
mytabs.init()
</script>
<!-- /Tabbed Forum Home -->
<!-- /main -->
After Replacing it with code... IT WILL LOOK LIKE THIS
13. Click Dropdown arrow of your skin & Click Add new template========================================================================
14. Title is FORUMHOMETAB, and paste here the code you copied
in step number #8 (the code from < ! -- main -- > to < !-- / main -- > ) and click save========================================================================
15. in forumhome_forumbit_level1_nopost double click it and paste this code upper of entire template.
<if condition="(THIS_SCRIPT == 'tabforumhome' AND in_array($forum['forumid'], $GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'">
16. In the end of template paste this: (after paste click save)
</if>
========================================================================
17. in forumhome_forumbit_level1_post double click it and paste this code upper of entire template.
<if condition="(THIS_SCRIPT == 'tabforumhome' AND in_array($forum['forumid'], $GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'">
18. In the end of template paste this: (after paste click save)
</if>
19. DONE.
========================================================================
========================================================================
========================================================================
EDITING / ADDING CATEGORY:
1. Edit FORUMHOME. ( look HERE how to)2. Find <!-- Tabbed Forum Home -->
that numbers 1 up to 11 is the ID number of Category to replace with your OWN CATEGORY NUMBER.
3. Click Here to know what id number of your category.
4. If you want add category. just add this code.. (screenshot look here)
&tabcat[]=12
example this is the link:
<li><a href="tabforumhome.php?tabcat[]=11" rel="ajaxTFHcontentarea">VIP</a></li>
look the tabcat[]=11 of this example.. after number 11, add this code &tabcat[]=12
this will look alike
<li><a href="tabforumhome.php?tabcat[]=11&tabcat[]=12" rel="ajaxTFHcontentarea">VIP</a></li>
br,
IPE_1202




No comments:
Post a Comment