Add Pages in Accout Menu

Discussion in 'User interface' started by thomo03, Jun 3, 2008.

  1. thomo03

    thomo03 New Member

    Hi there,

    I apologise if this has already been answered and I would hate to duplicate questions, but I've looked on the forum and can't find anything, apologies again.

    I'm wanting to add a page into the Account menu, the way I have done this is by duplicating edit-account.php and changing it to tools.php and duplicating the edit-account.tpl and changing its name to tool.tpl.

    I've tried getting rid of the 0-9 abcde...... listing at the top, but get an error and I'm wanting to put some php code in the new tools label, but I can't figure it

    I have tried doing this through the manage page link on the admin side, but I'm possibly doing it wrong.

    Thanks for any help.

    James
  2. Vasily B.

    Vasily B. Administrator Staff Member

    Hi James,

    You can add the page using the following way:

    *** open your footer.tpl in plain text editor and find the following code ***
    Code:
    <li><a href="account.php">{$lang.edit_account}</a></li>
    *** add the following code ***
    Code:
    <li><a href="tools.php">Tools</a></li>
    *** save changes ***

    You should also create a page by your way. But you will have to edit tools.php and point edit-account.php to a newly created tpl file

Share This Page