Home | Website Design Samples | Art & Design | Multimedia | Services | Contact | E-mail Me
Flash Chat | Flash Test | JavaLab | Pic Resizer | Articles | Snip A Site | Link Lister
| Pay James
Find out what's happening with the Web locally—Check out my Meetup at the Brampton Web Design Meetup Group.
I have worked with companies in the U.S.A, Canada and Europe and can help you with your Web development and design on an hourly or project basis. Contact me for an estimate or give me a call.
Contract and Freelance Web Designer serving Brampton, Mississauga, Toronto (GTA), Etobicoke, Vaughan, Oakville and Burlington.

Boonex Dolphin Tutorials FREE at BoonexNerd.com
  Google
   
   
 

Boonex Dolphin 6 Tutorials

Digg This Story - Boonex Dolphin Tutorials Site

Dolphin tips, tricks and resources chat

Sign up for FREE Dolphin mods, tip, tricks and resources

Hosting for Boonex Dolphin Web Sites

SPECIAL TUTORIAL
How to Create Custom
Dolphin Pages

Welcome to My Dolphin Tutorial Pages

How to Install Dolphin 6.0.0003 Video Tutorial

Add Your Own Logo to the Masthead

How to Customize the Flash File on the Home Page

How to Make the Flash Home Page Movie Link to A URL

How to Change the Home Page Graphic and Message

How to Admin the Daily Quotes

How to Show/Hide Home Page Blocks

How to Add Javascript/HTML Tags in a Block

How to Add A YouTube Video to A Dolphin Block

How to Take Out a Menu Tab in the Main Navigation

Add a New Menu Item in The Main Nav

Open a New Window from a Menu Item

How to Add HTML to the news_views.php Page
(And similar pages)

How to Customize the Top Nav Bar

How to Customize the Very Top Nav Bar

Taking out the Top Nav Bar Completely

How to Edit the Member Login Menu

How to Change the "Your Company" or Bottom Part of a Dolphin Page

How to Edit Out the Icons in the Footer

How to Change the Footer

How to Add a Custom Item by Using New Block

Set the Number of Photos on the Home Page

How to Set Up the Orca Forum

How to Change the Generic Female/Male Icon

How to Hide Date of Birth from Profile View and in the Search Result

Show All Members in the Browse Profiles Page

How To Make a Member a Featured Member

Basic SEO - How to Add Meta Tags

How to Make Your Forum by Invite Only

How to Set the Number of Member Photos that Appear on the Home Page

How To Make a Member a Featured Member

How to Add A Message or Image in the Join Form

How to Set up PayPal Checkout Page

How to Set up a Dolphin Template

How to Put Google Adsense in a Profile

How to Add Google AdSense to a Dolphin Blog

Troubleshooting - Find Out Some Info About
Your Server

More Boonex Dolphin tutorials at BoonexNerd.com

 

Brampton Web Design

How to Customize the Top Nav Bar by Taking Links Out or Adding Custom Links Manually

This tutorial refers to the very top nav bar.

Requirements
You need to make sure you have the correct set up and that you can login to the admin panel.

Instructions
The top links are listed in the _header.html file. That file can be found in the templates/tmpl_uni/ directory.

On or about line 8 is:

<div class="main">
<!-- top -->
<div class="topestMenuWrapper">
<div class="topestMenu">
__TOP_Links__
__TOP_News__
__TOP_ContactUs__
__TOP_About__
__TOP_Privacy__
__TOP_Termsofuse__
__TOP_FAQ__
__TOP_Feedback__
__TOP_Aff__
__TOP_Invitefriend__
__TOP_Bookmark__
__switch_lang_block__
</div>
</div>

The tags beginning and eding with "__" are bound to top nav bar. If you take one out it will no longer show up in the list.

If you want to add a custom link, you do that. Just use an html tag. You can do something link this:

<div class="main">
<!-- top -->
<div class="topestMenuWrapper">
<div class="topestMenu">
__TOP_Links__
__TOP_News__
__TOP_ContactUs__
__TOP_About__
__TOP_Privacy__
__TOP_Termsofuse__
__TOP_FAQ__
__TOP_Feedback__
__TOP_Aff__
__TOP_Invitefriend__
__TOP_Bookmark__
__switch_lang_block__
<a class="menu_item_link" href="http://www.JamesTadeo.com" target="_blank">JamesTadeo.com</a>
</div>
</div>

In the above example, I just added a link to my site.

You may be wondering where the "_TOP_Links", "_TOP_News" etc. get their value. First off, it isn't from the database. You can open up the design.inc.php file located in the inc folder found in your Dolphin root. On or about line 516 is the following script:

// topest menu items
{
$_page_cont[0]['TOP_Home'] = '<a class="menu_item_link" href="' . $site['url'] . 'index.php">' . _t("_Home") . '</a>';
$_page_cont[0]['BMI_Home'] = '<a class="bottommenu" href="' . $site['url'] . 'index.php">' . _t("_Home") . '</a>';

$_page_cont[0]['TOP_About'] = '<a class="menu_item_link" href="' . $site['url'] . 'about_us.php">' . _t("_About Us") . '</a>';
$_page_cont[0]['BMI_About'] = '<a class="bottommenu" href="' . $site['url'] . 'about_us.php">' . _t("_About Us") . '</a>';

$_page_cont[0]['TOP_Privacy'] = '<a class="menu_item_link" href="' . $site['url'] . 'privacy.php">' . _t("_Privacy") . '</a>';
$_page_cont[0]['BMI_Privacy'] = '<a class="bottommenu" href="' . $site['url'] . 'privacy.php">' . _t("_Privacy") . '</a>';

$_page_cont[0]['TOP_Termsofuse'] = '<a class="menu_item_link" href="' . $site['url'] . 'terms_of_use.php">' . _t("_Terms_of_use") . '</a>';
$_page_cont[0]['BMI_Termsofuse'] = '<a class="bottommenu" href="' . $site['url'] . 'terms_of_use.php">' . _t("_Terms_of_use") . '</a>';

$_page_cont[0]['TOP_Services'] = '<a class="menu_item_link" href="' . $site['url'] . 'services.php">' . _t("_Services") . '</a>';
$_page_cont[0]['BMI_Services'] = '<a class="bottommenu" href="' . $site['url'] . 'services.php">' . _t("_Services") . '</a>';

$_page_cont[0]['TOP_FAQ'] = '<a class="menu_item_link" href="' . $site['url'] . 'faq.php">' . _t("_FAQ") . '</a>';
$_page_cont[0]['BMI_FAQ'] = '<a class="bottommenu" href="' . $site['url'] . 'faq.php">' . _t("_FAQ") . '</a>';

$_page_cont[0]['TOP_Articles'] = '<a class="menu_item_link" href="' . $site['url'] . 'articles.php">' . _t("_Articles") . '</a>';
$_page_cont[0]['BMI_Articles'] = '<a class="bottommenu" href="' . $site['url'] . 'articles.php">' . _t("_Articles") . '</a>';

$_page_cont[0]['TOP_Stories'] = '<a class="menu_item_link" href="' . $site['url'] . 'stories.php">' . _t("_Stories2") . '</a>';
$_page_cont[0]['BMI_Stories'] = '<a class="bottommenu" href="' . $site['url'] . 'stories.php">' . _t("_Stories2") . '</a>';

$_page_cont[0]['TOP_Links'] = '<a class="menu_item_link" href="' . $site['url'] . 'links.php">' . _t("_Links") . '</a>';
$_page_cont[0]['BMI_Links'] = '<a class="bottommenu" href="' . $site['url'] . 'links.php">' . _t("_Links") . '</a>';

$_page_cont[0]['TOP_News'] = '<a class="menu_item_link" href="' . $site['url'] . 'news.php">' . _t("_News") . '</a>';
$_page_cont[0]['BMI_News'] = '<a class="bottommenu" href="' . $site['url'] . 'news.php">' . _t("_News") . '</a>';

$_page_cont[0]['TOP_Aff'] = getParam("enable_aff") == 'on' ? '<a class="menu_item_link" href="' . $site['url'] . 'affiliates.php">' . _t("_Affiliates") . '</a>' : '';
$_page_cont[0]['BMI_Aff'] = getParam("enable_aff") == 'on' ? '<a class="bottommenu" href="' . $site['url'] . 'affiliates.php">' . _t("_Affiliates") . '</a>' : '';

$_page_cont[0]['TOP_Invitefriend'] = '<a class="menu_item_link" href="javascript:void(0);" onclick="return launchTellFriend();">' . _t("_Invite a friend") . '</a>';
$_page_cont[0]['BMI_Invitefriend'] = '<a class="bottommenu" href="javascript:void(0);" onclick="return launchTellFriend();">' . _t("_Invite a friend") . '</a>';

$_page_cont[0]['TOP_Contacts'] = '<a class="menu_item_link" href="' . $site['url'] . 'contact.php">' . _t("_Contacts") . '</a>';
$_page_cont[0]['BMI_Contacts'] = '<a class="bottommenu" href="' . $site['url'] . 'contact.php">' . _t("_Contacts") . '</a>';

$_page_cont[0]['TOP_Browse'] = '<a class="menu_item_link" href="' . $site['url'] . 'browse.php">' . _t("_Browse Profiles") . '</a>';
$_page_cont[0]['BMI_Browse'] = '<a class="bottommenu" href="' . $site['url'] . 'browse.php">' . _t("_Browse Profiles") . '</a>';

$_page_cont[0]['TOP_Feedback'] = '<a class="menu_item_link" href="' . $site['url'] . 'story.php">' . _t("_Add story") . '</a>';
$_page_cont[0]['BMI_Feedback'] = '<a class="bottommenu" href="' . $site['url'] . 'story.php">' . _t("_Add story") . '</a>';

$_page_cont[0]['TOP_ContactUs'] = '<a class="menu_item_link" href="' . $site['url'] . 'contact.php">' . _t("_contact_us") . '</a>';
$_page_cont[0]['BMI_ContactUs'] = '<a class="bottommenu" href="' . $site['url'] . 'contact.php">' . _t("_contact_us") . '</a>';

$_page_cont[0]['TOP_Bookmark'] = '<a class="menu_item_link" href="javascript:void(0);" onclick="addBookmark();">' . _t("_Bookmark") . '</a>';
$_page_cont[0]['BMI_Bookmark'] = '<a class="bottommenu" href="javascript:void(0);" onclick="addBookmark();">' . _t("_Bookmark") . '</a>';
}

You can go in the above script and just update the links manually.

There is a caveat. The orca forum needs to have the top nav bar updated separately. From your root, you can get to the file by going to orca\layout\uni\xsl\canvas.xsl. On or about line 181 you will see this:

<div style="padding:0px 8px 0px 11px">
<div class="topestMenuWrapper">

<div class="topestMenu">
<a class="menu_item_link" href="{/root/url_dolphin}links.php">Links</a>
<a class="menu_item_link" href="{/root/url_dolphin}news.php">News</a>
<a class="menu_item_link" href="{/root/url_dolphin}contact.php">Contact Us</a>
<a class="menu_item_link" href="{/root/url_dolphin}about_us.php">About us</a>
<a class="menu_item_link" href="{/root/url_dolphin}privacy.php">Privacy Policy</a>

<a class="menu_item_link" href="{/root/url_dolphin}terms_of_use.php">Terms</a>
<a class="menu_item_link" href="{/root/url_dolphin}faq.php">FAQ</a>
<a class="menu_item_link" href="{/root/url_dolphin}story.php">Add feedback</a>
<a class="menu_item_link" href="{/root/url_dolphin}affiliates.php">Affiliates</a>
<a class="menu_item_link" href="javascript:void(0);" onclick="addBookmark( '{/root/url_dolphin}', 'Dolphin6' );">Bookmark</a>

</div>
</div>

Download(s)
N/A

Addendum
N/A

 

BoonexNerd.com Tutorial Site
Dolphin Tutorials tips, tricks and resources

Contact me now with my online e-mail form: E-mail James

Download Boonex Dolphin Smart Community Builder
   

Mailing Address: 12 Paradise Gardens, Brampton, ON L6S 5C7 Phone: (905) 793-2690  Fax: (905) 790-7412
Copyright 2007 James Tadeo All trademarks, copyrights, and branding belong to their respective owners.
I have worked with clients in Toronto, Scarborough, Etobicoke, Vaughan, Oakville, Burlington, Mississauga, Brampton and Georgetown.
Contact me today about your Web Design or Redesign project. Find out more, see my Web design samples.


Pay for Web Design services via PayPal