Move Logoff (User) to Left Menu

5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 17, 2009   (RSS)

By avrom - March 15, 2009

Hi Dave,

I would like to move the "Logoff (User)" link in the header to the left menu. I assume that's not too hard..

Cheers
Avrom

Thanx :))

Re: [virgodesign] Move Logoff (User) to Left Menu

By ross - March 16, 2009

Hi Avrom

Thanks for posting!

You should be able to move that button over but you'll need to be working with the CMS Builder interface templates which isn't really something we recommend. The main thing here is that once you have it setup once, you'll actually need to do the same thing over and over again each time you upgrade because the interface templates are always re-done.

Let me know if you are ok with this and we'll have a look at it together.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Move Logoff (User) to Left Menu

By avrom - March 16, 2009

Hi Ross,

Thanks for the reply. Yes I am aware that I will have to be careful with this on upgrades, but since I'm only modifying the CSS, header and footer files, it should be straightforward enough.

The code in header.php is like this, and I would like to move it to the menu bar links:

<?php if ($CURRENT_USER): ?>
| <a href="?action=logoff"><?php printf(__("Logoff (%s)"), htmlspecialchars($CURRENT_USER['username'])); ?></a>
<?php endif ?>

Many thanks,
Avrom

Re: [Dave] Move Logoff (User) to Left Menu

By avrom - March 17, 2009

Perfecto :)) That was easy...

Thanks Dave.
Avrom