Add tab to menu

Hi Everyone, I'm new to forum so apologies if I'm making some kind of n00b error.

I need to add a tab to the forum menu, I found this code in an earlier discussion and added to a folder called 'HomeTab' containing a php file called hometab.php in the 'extensions' folder. Unfortunately it doesn't show up in the extensions menu. Perhaps it's for the vanilla 1.0 architecture?

Any help would be appreciated.

<?php /* Extension Name: Home Tab Extension Url: http://skoap.com/ Description: Adds home tab Version: 1 Author: Nathan Wheatley Author Url: http://skoap.com */ if (in_array($Context->SelfUrl, array("index.php", "categories.php", "comments.php", "search.php", "post.php", "account.php", "settings.php"))) { $Menu->AddTab("Back To Legend", "Back To Legend", "http://leavesofivy.com/Legend/", "Home Tab", $Attributes = "accesskey=\"h\" target=\"_parent\"", $Position = "1", $ForcePosition = "1"); } ?>

Comments

Sign In or Register to comment.