Login

  • Posts: 35
  • Thank you received: 0
13 years 2 weeks ago #29499

I have a MY ACCOUNT page that requires LOGIN or REGISTER.
I'm using a Joomla LOGIN module and teh Hikashop REGISTRATION on this page:
www.luxuryorganicperfumes.com/index.php/login-or-register

Unfortunately the LOGIN module does not have a title and it has a "Create an account" link.
I would like the LOGIN form to look exactly like the form in the HIKASHOP checkout view.

Could you tell me how to make it happen?
I know it's not really a Hikashop question, but still I thought I'd ask, since it should be an easy one for you.

Thanks once again for your wonderful support on the forum.
This is my second Hikashop implementation, and I did not have to ask one question (before today) because so many answers are already on the forum.

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 2 weeks ago #29514

The login module view file is the file modules/mod_login/tmpl/default.php
You can copy it to templates/YOUR_TEMPLATE/html/mod_login/default.php and edit that file in order to override it.
There you can remove the "create an account" link code (joomla 1.5):
<li>
<a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">
<?php echo JText::_('REGISTER'); ?></a>
</li>
or (joomla 1.7):
<li>
<a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
<?php echo JText::_('MOD_LOGIN_REGISTER'); ?></a>
</li>

Please Log in or Create an account to join the conversation.

  • Posts: 35
  • Thank you received: 0
13 years 2 weeks ago #29947

Thank you Nicolas, your help is much appreciated. :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum