Some time ago I wrote an article on how to insert a new tab in the top navigation bar, this time I’ll show you how to insert a new item in the footer. It’s basically the same as in my previous post: http://blog.arvixe.com/add-new-tab-in-navigation-menu . Written for v2.0.91 and above.
Difficulty level: Easy
1. Open ClipBucket.class.php, located in ./includes/classes/*
2. Search for function foot_menu
3. The code to add a new item is this:
$this->foot_menu = array('name'=>"YOURITEMNAME",'link'=>"WWW.PAGE.TLD","this"=>"ITEMNAME");
*Every $this-> you see is a different item in the menu.
4. Let’s say we want to add a new item after the ‘Contact Us’, that says “Richi” and will redirect us to my site, www.Juapo2Services.com, the code would look like this:
$this->foot_menu = array('name'=>lang("contact_us"),'link'=>cblink(array('name'=>'contact_us')),"this"=>"home"); $this->foot_menu = array('name'=>"Go Here",'link'=>"www.Juapo2Services.com","this"=>"gohere");
5. Save and upload.
That’s it, refresh your website and you’ll see the new item has been added. If you have any questions, comments, problems, etc, please let me know, I’d love to assist you.
Owner of www.Juapo2Services.com