How to add, remove, or change the links in Dolphin 7 Footer.
If you are having difficulties changing the links in the footer of Dolphin 7 this should be helpful. Things are a little more confusing and difficult compared to the previous Dolphin version.
It is still a relatively simple process however, now you will need to edit and change a database table. Since there will be changes made to the database it is a very good idea to download a database backup prior to making any changes.
Use this info at your own risk. If you do not think you can handle making changes to the database, then do not attempt this. Read this over thoroughly a couple of times and make sure you fully understand it.
So first download your current up-to-date database from within your hosting account and keep it in a safe place.
In this explanation I will be adding a link called Video to Dolphin 7 footer which will take you to the main video section if you click on it as an example. You will need to substitute the title of your link in place of video, and add a language key of your choice if you so desire.
Login to your hosting account control panel and open up phpMyAdmin.
Select your Dolphin 7 database from the list.
Then scroll down the list of Dolphin 7 database tables until you find "sys_menu"bottom".
Click on the "Browse" icon that is usually the first one to go into the details of the table so we can make the changes.
Once here you will be able to see all the links that are currently in your footer. If you just want to remove one, then you would click on the "Red X" (delete) to remove it completely. If you just want to change one to you choose the "Pencil" (edit).
But to add a link we will need to insert it. Before we do that, we need to understand a few things about this screen and info so we properly enter are new link.
Notice the ID column. The numbers are right in consecutive order. So when we insert our link we will want to use 18 as the ID. Caption will be the language key we will be entering in our Dolphin 7 Admin Panel (a little later). Name is a description of the link. The Link column will be the actual location we want people to go to when they click on it. Order is also important. If you want your new link to go to the far right in your Dolphin 7 footer you would want to use 11. If you enter _blank into the Target field it will open the link in a new window or tab. If you do not enter anything it will stay in the same window/tab.
So what I will want to insert will be the following info:
ID = 18
Caption = _Test
Name = Test
Link = m/videos/home/
Order = 11
Note: The other fields will be left blank (no info).
Now lets insert this info. Find and click on "Insert" at the top of this system_menu_bottom table page as pictured.
Here is the info you will need to enter into the fields. Then, click the "Go" button.
Now we need to do a couple more things for the changes to take effect. If you simply refresh your Dolphin 7 site or page you will see nothing happens yet.
To see the change we need to delete a cached file.
Open your host's file manager or your favorite ftp client like filezilla and navigate to the cache folder:
Scroll down until your find sys_menu_bottom.inc (yoursite.com/cache/sys_menu_bottom.inc) and delete the file. It is just a temporary cache file. As soon as you delete the file and refresh your site in your browser it will be regenerated with the changes you made to the database.
So simply delete the file. Then, refresh your site/page in your browser.
Now you should see it says _test next to the bookmark link. The reason that it says _test is because we need to add the language key in our Dolphin 7 Admin Panel yet. Once we do this the _ (underscore will go away and we can make it say anything we want. In this case, Videos).
So sign into your Dolphin 7 Admin Panel now and navigate to Settings...Language Settings.
Towards the bottom of this page you will find the "Add key" button.
Click on the "Add Key" button and a new window will open.
Here we will enter:
Key name: _Test
String text for English language: Videos
Click "Save" Button
(The "String text for English language" field / is what the actual link will say in the footer, in this case Videos.)
Delete the cache file one more time just to make sure the change to the Dolphin 7 Admin Panel Language Key updates at /cache/sys_menu_bottom.inc
Now refresh your Dolphin 7 site/page again and it should say "Videos" and when you click on it you go to yoursite.com/m/videos/home/
Pretty simple. Just follow this info to add more, to remove some, or move them around in different order.
Make sure you do not use or add a language key in your Dolphin 7 Admin Panel that already exists. You should use a unique key just to be sure.
-You can search your Dolphin Admin Panel Language Keys prior to adding one to make sure it doesn't exist already.
--Simply enter a key string here and click the apply button to search first. If no results are returned, then it should be safe to use and create a new one.
---The Dolphin 7 Admin Panel Language Key you add must also match the database table sys_menu_bottom field Caption. In this case, _Test was used in both the admin panel language key and the database table caption field.
----The String text for English language in the Dolpin Admin Panel I added is what the actual link will say/display in a browser.
Always backup your database before attempting changes.
Take your time and make sure you understand this and think you can handle it.