eSyndiCat User Forums

eSyndiCat User Forums (http://www.esyndicat.com/forum/index.php)
-   User interface (http://www.esyndicat.com/forum/forumdisplay.php?f=37)
-   -   Add Pages in Accout Menu (http://www.esyndicat.com/forum/showthread.php?t=14982)

thomo03 06-03-2008 10:52 AM

Add Pages in Accout Menu
 
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

Vasily B. 06-03-2008 04:15 PM

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


All times are GMT. The time now is 07:28 AM.

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
eSyndiCat Directory Software