Login/Account Information Like concrete.org's Site

Permalink
Is there a way to have horizontal login info like this site's top menu where it shows "Account" and "Sign Out" at the top.

I'm basically wondering how to modify the login block so it spreads horizontally (across the top of the forum addon) but having the account link up there too wouldn't hurt.

 
jordanlev replied on at Permalink Reply
jordanlev
I usually just don't even bother with the login block and instead hard-code the login form where I want to in the template. Just go to your site's login page and "view source" in the browser to see what the html of the form and input fields needs to be, and make the form post to your site's login page.
adamjohnson replied on at Permalink Reply
adamjohnson
This code is in the footer of the default theme. It will say "Login" and, when you are logged in, it'll say, "You are currently logged in as XYZ"

<div id="footer">
         <span class="powered-by"><a href="http://www.concrete5.org" title="<?php echo t('concrete5 - open source content management system for PHP and MySQL')?>"><?php echo t('concrete5 - open source CMS')?></a></span>
         &copy; <?php echo date('Y')?> <a href="<?php echo DIR_REL?>/"><?php echo SITE?></a>.
         &nbsp;&nbsp;
         <?php echo t('All rights reserved.')?>
         <?php 
         $u = new User();
         if ($u->isRegistered()) { ?>
            <?php  
            if (Config::get("ENABLE_USER_PROFILES")) {
               $userName = '<a href="' . $this->url('/profile') . '">' . $u->getUserName() . '</a>';
            } else {
               $userName = $u->getUserName();
            }
            ?>


The lines after "All Rights Reserved" may be what you're looking for (?).