So, I LOVE Magento. I was having a few issues with it at first, but I think that most of the kinks were worked out after switching from Siteground Web Hosting. (Don’t get me wrong, they are a great host, but they just didn’t have the whole Magento Store Front service up to par.) Anyways, most of the issues that I have now are more aesthetic / template issues.

One thing that I have been wanting for a while, and just got around to doing 5 minutes ago is a “Return to Store Front” link on the Admin log in page. I mean, c’mon Magento team, that just makes sense. Well, they haven’t implemented it yet, but it is actually really easy to do. (I’m sure they have more important things to attend to.) Walkthrough below:

Open your favorite FTP client, and navigate to your magento site root. From there, go to app/design/adminhtml/default/default/template/. Download login.phtml, and make the following edits.

Near line 58, you will find the following code:

<div>
<a href="<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/index/forgotpassword') ?>"><?php echo Mage::helper('adminhtml')->__('Forgot your password?') ?></a>
<input type="submit" value="<?php echo Mage::helper('adminhtml')->__('Login') ?>" title="<?php echo Mage::helper('adminhtml')->__('Log$
</div>

Add this line of code between line 59 and 60 on its own line.

<br /><a href="<?php echo $this->getBaseUrl('') ?>"><?php echo ('Return to Store Front') ?></a>

Save the file, upload it, and your all set.

<a rel=”attachment wp-att-96″ href=”http://mactimize.com/?attachment_id=96″><img title=”Admin Panel” src=”http://mactimize.com/blog/wp-content/uploads/2009/04/picture-1.png” alt=”Admin Panel Edits” width=”519″ height=”207″ /></a>

Admin Panel Edits

This is for the nerds, and probably goes without saying, but all this can also be completed via an SSH connection to your site as well. (Edited – May 3 – Modified code so that it became straight cut and paste and required no editing. [used php instead of html])