1

Topic: Add 'logout' to menu

I have set up Miniportal following the wiki tutorial http://wiki.punres.org/Miniportal.
I have removed the top menu i.e.

Index | User list | Search | Profile | Logout

I have set it up as a side menu (pun_sidelinks) and created a forum.tpl where it only shows when you are actually in the forum.(because it only relates to when you are in the forum except 'log out')

I have a main menu on the side for all the other pages on the site i.e. page1, page2, page3 etc.
I have also added login box on the side.
I have created a new top navigation bar with...

Home | About us | Contact us etc

I wish to add 'Log out' to this.

Any ideas please?

I'm not sure if I can edit functions.php because won't it affect the side bar as well?

2

Re: Add 'logout' to menu

I have found this...

http://www.punres.org/desc.php?pid=314

which adds a logout link after your 'name logged in'
so I could delete 'logout' from navlinks on side bar and wouldn't need it in top menu.

No need to duplicate any function on a webpage, such as login etc, some sites have it 3 or 4 times!

Its a usability issue.