PDA

View Full Version : Forum Home Enhancements - Sub-Forum Drop Down Menu


Sulaiti
10-28-2007, 10:00 PM
This little modification will show the Sub-Forum Like Search Drop Down.

Step 1. Open:

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

Find:
Code:



<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>



Replace with:
Code:



<if condition="$show['subforums']">
<div class="alt1" id="subforums_$forum[forumid]"><strong>$vbphrase[subforums]</strong><script type="text/javascript"> vbmenu_register("subforums_$forum[forumid]"); </script>
<div class="vbmenu_popup" id="subforums_$forum[forumid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[subforums]</td>
</tr>
$forum[subforums]
</table>
</div>
</div>
</if>



Step 2. Open:


forumhome_subforumbit_post


Replace the templates with:
Code:



<tr><td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></td></tr>



Step 3. Open:

forumhome_subforumseparator_post

Delete ","




Please make sure you click INSTALL if you Like it.

ran_iu_Conan
10-29-2007, 08:54 PM
wao! ..very cool. Thanks for share

chuchukuttie
10-29-2007, 09:42 PM
Very unqie, really nice.. thanks a lot.

Mr_Snob
10-29-2007, 09:53 PM
yea very useful really nice tenk yuu canim :D

jerrygad
10-30-2007, 12:31 AM
Very nice. Thanks :)

Snake
10-30-2007, 06:41 PM
Thanks for the release!

wtrk
10-31-2007, 03:56 PM
very cool. good idea. bookmarked for later use for sure.

kartik786
11-01-2007, 03:48 PM
live demo please