Kyuu
12-07-2005, 12:08 AM
Hi.
http://img232.imageshack.us/img232/9052/untitled4rd.th.jpg (http://img232.imageshack.us/my.php?image=untitled4rd.jpg)
Right now I have adv_portal_mytemplatename editted so it's the same as adv_portal_navigation. As you can see in the above picture, all my links under "Naruto the Movie" are the same as "Site Navigation". How can I change it so the links under "Naruto the Movie" & "Site Navigation" are different yet still main the usage of ?page=? I was using this at first...
vBadvanced Nav Menu
//////////////////////////////
First create a new template called adv_portal_"your_block_name" without the quotes and add the following code to it:
<!-- Navigation Block -->
<style type="text/css">
<!--
td.row1 {background:#C6C6C6;border:1px solid; border-color:#ffffff #1b1b1b #1b1b1b #ffffff}
.style1 {color: #CCCCCC}
-->
</style>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] $vbphrase[vba_navigation]</strong></span></td>
</tr>
<tr>
<td class="$getbgrow">
<!-- Section 1 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 1</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"index.php"><TD class="row1"><a href="index.php">Home</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Downloads"><TD class="row1"><a href="http://www.yoursite.com/Downloads">Downloads</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Upload"><TD class="row1"><a href="http://www.yoursite.com/Upload">Upload a file for downloads</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Games"><TD class="row1"><a href="http://www.yoursite.com/Games">Games</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Top_Sites"><TD class="row1"><a href="http://www.yoursite.com/Top_Sites">Top Sites</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Web_Links"><TD class="row1"><a href="http://www.yoursite.com/Web_Links">Links</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Recommend_Us"><TD class="row1"><a href="http://www.yoursite.com/Recommend_Us">Recommend Us</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Search"><TD class="row1"><a href="http://www.yoursite.com/Search">Search</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Statistics"><TD class="row1"><a href="http://www.yoursite.com/Statistics">Statistics</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Stories_Archive"><TD class="row1"><a href="http://www.yoursite.com/Stories_Archive">Stories Archive</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Submit_News"><TD class="row1"><a href="http://www.yoursite.com/Submit_News">Submit News</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Topics"><TD class="row1"><a href="http://www.yoursite.com/Topics">Topics</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/WebMail"><TD class="row1"><a href=" http://www.yoursite.com/WebMail ">Webmail</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 2 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 2</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"http://www.yoursite.com/Feedback"><TD class="row1"><a href="http://www.yoursite.com/Feedback">Feedback</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Forums"><TD class="row1"><a href="http://www.yoursite.com/Forums">Forums</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Journal"><TD class="row1"><a href="http://www.yoursite.com/Journal">Journal</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 3 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 3</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"http://www.yoursite.com/Your_Account"><TD class="row1"><a href="http://www.yoursite.com/Your_Account">Account</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/gallery"><TD class="row1"><a href="http://www.yoursite.com/gallery">Gallery</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Journal"><TD class="row1"><a href="http://www.yoursite.com/Journal">Journal</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Private_Messages"><TD class="row1"><a href="http://www.yoursite.com/Private_Messages">Private Msg</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Members_List"><TD class="row1"><a href="http://www.yoursite.com/Members_List">Members List</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 4 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 4</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"admin.php"><TD class="row1"><a href="admin.php">Admin Login</a></TD></TR>
<TR $actionMenu"admin.php?op=BlocksAdmin"><TD class="row1"><a href="admin.php?op=BlocksAdmin">Blocks</a></TD></TR>
<TR $actionMenu"admin.php?op=adminStory"><TD class="row1"><a href="admin.php?op=adminStory">New Story</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 5 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 5</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD class="row1">
<span class="smallfont">
<center>
<form>
<select onChange="location=this.options[this.selectedIndex].value;" style="font-family:\'Arial\';color:#000000;background-color:#FFFFFF;font-size:8pt;">
<option value="">---.Select a Category.---</option>
<option value="/#?cat=23">Half Life 2</option>
<option value="/#?cat=24">Raven Shield</option>
<option value="/#?cat=25">Battlefield</option>
<option value="/#?cat=26">Call of Duty</option>
<option value="/#?cat=32">Unreal 2K4</option>
<option value="/#?cat=31">Splinter Cell</option>
<option value="/#?cat=29">Far Cry</option>
<option value="/#?cat=30">Ghost Recon</option>
<option value="/#?cat=28">Ladder/League</option>
<option value="/#?cat=27">Multi-Gaming</option>
</select></form></center></span>
</TD></TR>
</TABLE>
</td>
</tr>
</table>
<br />
<!-- End Navigation Block -->
///////////////////////////////////////////////////
Now go to you admin cp go into vBa CMPS, and add a new module name it anything u want but Navigation may be a good choice ;)
where you have "OR Template to Include:" In there put adv_portal_"your_block_name"
Set anything else you want permissions ect then save it.
There ya go a new navigation menu :D
But then when I tried to use ?page= for the links under my custom modules it wouldn't work. Anyway. Back to my picture. I'll try to explain it more thoroughly. Say....under Site Navigation I would like Home (?page=home), Forum(?page=forum), Playlist(how to make a pop-up window?), Credits(?page=credits), etc... And under Naruto the Movie...Story (?page=story), Characters(?page=characters), Music(?page=music), etc... How would I go as to do that?
P.S. I know how to create a custom module and add pages but the pages can't be applied to my custom modules (or at least I don't know how to do so).
http://img232.imageshack.us/img232/9052/untitled4rd.th.jpg (http://img232.imageshack.us/my.php?image=untitled4rd.jpg)
Right now I have adv_portal_mytemplatename editted so it's the same as adv_portal_navigation. As you can see in the above picture, all my links under "Naruto the Movie" are the same as "Site Navigation". How can I change it so the links under "Naruto the Movie" & "Site Navigation" are different yet still main the usage of ?page=? I was using this at first...
vBadvanced Nav Menu
//////////////////////////////
First create a new template called adv_portal_"your_block_name" without the quotes and add the following code to it:
<!-- Navigation Block -->
<style type="text/css">
<!--
td.row1 {background:#C6C6C6;border:1px solid; border-color:#ffffff #1b1b1b #1b1b1b #ffffff}
.style1 {color: #CCCCCC}
-->
</style>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] $vbphrase[vba_navigation]</strong></span></td>
</tr>
<tr>
<td class="$getbgrow">
<!-- Section 1 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 1</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"index.php"><TD class="row1"><a href="index.php">Home</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Downloads"><TD class="row1"><a href="http://www.yoursite.com/Downloads">Downloads</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Upload"><TD class="row1"><a href="http://www.yoursite.com/Upload">Upload a file for downloads</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Games"><TD class="row1"><a href="http://www.yoursite.com/Games">Games</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Top_Sites"><TD class="row1"><a href="http://www.yoursite.com/Top_Sites">Top Sites</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Web_Links"><TD class="row1"><a href="http://www.yoursite.com/Web_Links">Links</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Recommend_Us"><TD class="row1"><a href="http://www.yoursite.com/Recommend_Us">Recommend Us</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Search"><TD class="row1"><a href="http://www.yoursite.com/Search">Search</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Statistics"><TD class="row1"><a href="http://www.yoursite.com/Statistics">Statistics</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Stories_Archive"><TD class="row1"><a href="http://www.yoursite.com/Stories_Archive">Stories Archive</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Submit_News"><TD class="row1"><a href="http://www.yoursite.com/Submit_News">Submit News</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Topics"><TD class="row1"><a href="http://www.yoursite.com/Topics">Topics</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/WebMail"><TD class="row1"><a href=" http://www.yoursite.com/WebMail ">Webmail</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 2 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 2</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"http://www.yoursite.com/Feedback"><TD class="row1"><a href="http://www.yoursite.com/Feedback">Feedback</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Forums"><TD class="row1"><a href="http://www.yoursite.com/Forums">Forums</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Journal"><TD class="row1"><a href="http://www.yoursite.com/Journal">Journal</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 3 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 3</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"http://www.yoursite.com/Your_Account"><TD class="row1"><a href="http://www.yoursite.com/Your_Account">Account</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/gallery"><TD class="row1"><a href="http://www.yoursite.com/gallery">Gallery</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Journal"><TD class="row1"><a href="http://www.yoursite.com/Journal">Journal</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Private_Messages"><TD class="row1"><a href="http://www.yoursite.com/Private_Messages">Private Msg</a></TD></TR>
<TR $actionMenu"http://www.yoursite.com/Members_List"><TD class="row1"><a href="http://www.yoursite.com/Members_List">Members List</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 4 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 4</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR $actionMenu"admin.php"><TD class="row1"><a href="admin.php">Admin Login</a></TD></TR>
<TR $actionMenu"admin.php?op=BlocksAdmin"><TD class="row1"><a href="admin.php?op=BlocksAdmin">Blocks</a></TD></TR>
<TR $actionMenu"admin.php?op=adminStory"><TD class="row1"><a href="admin.php?op=adminStory">New Story</a></TD></TR>
</TABLE>
<HR noShade SIZE=1>
<!-- Section 5 -->
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"><tr class="tcat"><TD class="info1"><img src="forums/images/dot.gif" BORDER=0><b>Section 5</b></td></tr></table>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD class="row1">
<span class="smallfont">
<center>
<form>
<select onChange="location=this.options[this.selectedIndex].value;" style="font-family:\'Arial\';color:#000000;background-color:#FFFFFF;font-size:8pt;">
<option value="">---.Select a Category.---</option>
<option value="/#?cat=23">Half Life 2</option>
<option value="/#?cat=24">Raven Shield</option>
<option value="/#?cat=25">Battlefield</option>
<option value="/#?cat=26">Call of Duty</option>
<option value="/#?cat=32">Unreal 2K4</option>
<option value="/#?cat=31">Splinter Cell</option>
<option value="/#?cat=29">Far Cry</option>
<option value="/#?cat=30">Ghost Recon</option>
<option value="/#?cat=28">Ladder/League</option>
<option value="/#?cat=27">Multi-Gaming</option>
</select></form></center></span>
</TD></TR>
</TABLE>
</td>
</tr>
</table>
<br />
<!-- End Navigation Block -->
///////////////////////////////////////////////////
Now go to you admin cp go into vBa CMPS, and add a new module name it anything u want but Navigation may be a good choice ;)
where you have "OR Template to Include:" In there put adv_portal_"your_block_name"
Set anything else you want permissions ect then save it.
There ya go a new navigation menu :D
But then when I tried to use ?page= for the links under my custom modules it wouldn't work. Anyway. Back to my picture. I'll try to explain it more thoroughly. Say....under Site Navigation I would like Home (?page=home), Forum(?page=forum), Playlist(how to make a pop-up window?), Credits(?page=credits), etc... And under Naruto the Movie...Story (?page=story), Characters(?page=characters), Music(?page=music), etc... How would I go as to do that?
P.S. I know how to create a custom module and add pages but the pages can't be applied to my custom modules (or at least I don't know how to do so).