zacklk webmaster
Joined: Mar 13, 2010 Posts: 9
|
Posted: Fri Jun 25, 2010 10:41 pm Post subject: How Can I add Extra Link in NukeNAV |
|
|
Hi, Can anyone tell me how to add a extra link in NukeNAV. I mean in the top NukeNav bar. not the block. and if you can also tell me how to move a sub link as a main link in NukeNav. example if i need to download to show in top links (not under modules--> downloads) how can i do that? thanks in advance. |
|
spasticdonkey webmaster
Joined: Oct 26, 2007 Posts: 69
|
Posted: Tue Jun 29, 2010 9:41 am Post subject: |
|
|
the menu is generated @
includes/jquery/nukeNAV.php
to keep the downloads module from appearing twice you need to first add 'Downloads' to the $menuModules array
find
Code:$menuModules = array('Credits', 'Feedback', 'Forums', 'Legal', 'Member_List', 'News', 'nukeNAV', 'Private_Messages', 'Recommend_Us', 'rwsMetAuthors', 'Search', 'Sitemap', 'Statistics', 'Stories_Archive', 'Submit_News', 'Topics', 'Your_Account');
|
change to
Code:$menuModules = array('Credits', 'Downloads', 'Feedback', 'Forums', 'Legal', 'Member_List', 'News', 'nukeNAV', 'Private_Messages', 'Recommend_Us', 'rwsMetAuthors', 'Search', 'Sitemap', 'Statistics', 'Stories_Archive', 'Submit_News', 'Topics', 'Your_Account');
|
then you need to add your link. not sure exactly where you want it, but to add right after the "home" link
find
Code:$nukeNAV = '<ul id="nukeNAV" class="nukeNAV"><li><a href="./">'._HOME.'</a></li>'."\n";
|
after add
Code:if (is_active('Downloads')) {
$nukeNAV .= '
<li><a href="modules.php?name=Downloads" title="">Downloads</a></li>';
}
|
|
|