| Author |
Message |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Thu Feb 25, 2010 9:28 am |
|
Hi, I have an external page I would like to link to out of the NukeNav block. How can I add a URL to the list? I did a search of this site and google. Thanks! |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1362 Location: Texas, USA
|
Posted:
Thu Feb 25, 2010 9:46 am |
|
The menu is generated by this file
includes/jquery/nukeNAV.php
Not sure where you are trying to add it in the menu, but if you need more pointers, post back  |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Thu Feb 25, 2010 10:04 am |
|
| spasticdonkey wrote: | The menu is generated by this file
includes/jquery/nukeNAV.php
Not sure where you are trying to add it in the menu, but if you need more pointers, post back |
Thanks. I want to add a url right after the Home link. |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1362 Location: Texas, USA
|
Posted:
Thu Feb 25, 2010 11:08 am |
|
didn't try but this should work, find:
| Code: | | $nukeNAV = '<ul id="nukeNAV" class="nukeNAV"><li><a href="./">'._HOME.'</a></li>'."\n"; |
on a new line, add after
| Code: | | $nukeNAV = '<li><a href="http://www.yourlink.com/">Your Link Name</a></li>'."\n"; |
substituting your link info, of course..  |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Thu Feb 25, 2010 11:33 am |
|
| spasticdonkey wrote: | didn't try but this should work, find:
| Code: | | $nukeNAV = '<ul id="nukeNAV" class="nukeNAV"><li><a href="./">'._HOME.'</a></li>'."\n"; |
on a new line, add after
| Code: | | $nukeNAV = '<li><a href="http://www.yourlink.com/">Your Link Name</a></li>'."\n"; |
substituting your link info, of course.. |
That really messed everything up.... I have a screenshot, how do I attach? |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1362 Location: Texas, USA
|
Posted:
Thu Feb 25, 2010 12:26 pm |
|
ooops, you are right, try adding this instead
| Code: | | $nukeNAV .= '<li><a href="http://www.yourlink.com/">Your Link Name</a></li>'; |
|
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Thu Feb 25, 2010 4:04 pm |
|
| spasticdonkey wrote: | ooops, you are right, try adding this instead
| Code: | | $nukeNAV .= '<li><a href="http://www.yourlink.com/">Your Link Name</a></li>'; | |
That did not mess up the page but the link does not show in the Navigation block. I am trying to get it to show directly under Home. Thanks for your help!
*edit= this actually makes it appear in the menu bar at the top. I would like it in the navigation block under Home. |
|
|
|
 |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
|
Posted:
Thu Feb 25, 2010 4:50 pm |
|
Open blocks/block-nukeNAV.php and find
| Code: | | $content = '<table border="0" cellpadding="0" cellspacing="0"><tr><td><ul class="nukeNAVmod"><li><a href="./">'._HOME."</a></li>\n"; |
Under that add
| Code: | | $content .= '<li><a href="http://your link">Your Link</a></li>'; |
Of course replace your link and Your Link with what you need. |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Fri Feb 26, 2010 10:34 am |
|
| nuken wrote: | Open blocks/block-nukeNAV.php and find
| Code: | | $content = '<table border="0" cellpadding="0" cellspacing="0"><tr><td><ul class="nukeNAVmod"><li><a href="./">'._HOME."</a></li>\n"; |
Under that add
| Code: | | $content .= '<li><a href="http://your link">Your Link</a></li>'; |
Of course replace your link and Your Link with what you need. |
That worked, thank you very much. I guess I was not very clear in my first post. But now I have the link in both places! Awesmoe. |
|
|
|
 |
k9-noja Regular


Joined: Dec 07, 2009 Posts: 72 Location: holland
|
Posted:
Thu Mar 18, 2010 3:47 am |
|
is it also posible to let the external link open in same section like, let's say the forum or your acount.
so that u stay on your site en keep the blocks on the side. |
|
|
|
 |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
|
Posted:
Thu Mar 18, 2010 9:41 am |
|
You would need to make an iframe module. |
|
|
|
 |
|
|
|
|