VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: dontflinch on December 27, 2011, 22:12:42 PM

Title: forgot password / forgot username flip
Post by: dontflinch on December 27, 2011, 22:12:42 PM
I made this change so that the forgot username was under the username box and same on forgot password.

it's nothing big, but since I noticed it and fixed maybe someone else might take note for the dev version.

components/com_virtuemart/views/user/tmpl/login.php (~line 215):

from:

        <div class="width30 floatleft">

            <a   href="<?php echo JRoute::_('index.php?option='.$comUserOption.'&view=reset'); ?>">

            <?php echo JText::_('COM_VIRTUEMART_ORDER_FORGOT_YOUR_PASSWORD'); ?></a>

        </div>

        <div class="width30 floatleft">

            <a   href="<?php echo JRoute::_('index.php?option='.$comUserOption.'&view=remind'); ?>">

            <?php echo JText::_('COM_VIRTUEMART_ORDER_FORGOT_YOUR_USERNAME'); ?></a>

        </div>


to:

<div class="width30 floatleft">

            <a   href="<?php echo JRoute::_('index.php?option='.$comUserOption.'&view=remind'); ?>">

            <?php echo JText::_('COM_VIRTUEMART_ORDER_FORGOT_YOUR_USERNAME'); ?></a>

        </div>

        <div class="width30 floatleft">

            <a   href="<?php echo JRoute::_('index.php?option='.$comUserOption.'&view=reset'); ?>">

            <?php echo JText::_('COM_VIRTUEMART_ORDER_FORGOT_YOUR_PASSWORD'); ?></a>

        </div>



Title: Re: forgot password / forgot username flip
Post by: dontflinch on February 29, 2012, 22:54:46 PM
I know this isn't super important but maybe as the updates move forward someone from dev team could take note of this?

it is odd to have forgot username under password and vice versa when they could easily be lined up in step with the correct one.

I just updated and now am having to go back and fix this in my own install.


p.s.  it is now on ~ line 243
Title: Re: forgot password / forgot username flip
Post by: jenkinhill on February 29, 2012, 23:28:55 PM
Quote from: dontflinch on February 29, 2012, 22:54:46 PM

I just updated and now am having to go back and fix this in my own install.


Did you not use a template override?
Title: Re: forgot password / forgot username flip
Post by: dontflinch on February 29, 2012, 23:43:08 PM
if I had I wouldn't be mentioning fixing it in core again?

and this is a small detail but one which would help the cart look that much more professional, for not just myself but all.