PDA

View Full Version : Adding a link that opens in a new browser...


falconking
09-05-2007, 09:50 PM
How do I add a link to the 'Quick Links' module that would open in a new browser?

I tried so many ways, but in vein :(

Brian
09-06-2007, 08:36 AM
The navigation module does not give you an option to open links in new windows, so you would need to edit your 'adv_portal_navigation' template and add the code for your link in there.

Our Sponsors
 

falconking
09-06-2007, 10:38 AM
The navigation module does not give you an option to open links in new windows, so you would need to edit your 'adv_portal_navigation' template and add the code for your link in there.

Well, thanx anyway. But my problem is being a novice in programming and I don't know how to edit my 'adv_portal_navigation' template and add the code for my link in there :( can you please guide me :confused:

I opened 'adv_portal_navigation' and found the following code:

<tr>
<td class="$bgclass">
$navigationbits
$customnavigationbits
</td>
</tr>

What should I do next?

falconking
09-06-2007, 11:02 AM
Got it, :p with some goofing around, but it works beautifully :)

I just add the following code to the template that you mentioned:

<tr>
<td class="vbmenu_option"><a href="Site Link" target="_blank">» Site Name</a>
</td>
</tr>

immediately under:

$customnavigationbits
</td>

Our Sponsors
 

Brian
09-06-2007, 01:04 PM
If you're going to add a new table row (<tr>), then it should be placed below the last ending table row (</tr>) instead of after the </td> tag.