× Form Help

Setting up the registration form on the login page

  • lblanks240
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

lblanks240 created the topic: Setting up the registration form on the login page

i need some help Setting up the registration form on the login page the form keeps gouing back to the default registration form. how do i change the interface so that it works correctly?

thanks
lenard

lmbproductions.com/index.php/user-registration/view/form

lmbproductions.com/index.php/user-regist...rm?view=registration
#236545
  • Posts: 156
  • Karma: 1
  • Thank you received: 14

Eddy.vh replied the topic: Setting up the registration form on the login page

Hello.

You must override login module. mod_login
Edit the default.php file and replace the registration link with yours.

The line number to edit will depend on your template…
#236553
Attachments:
  • lblanks240
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

lblanks240 replied the topic: Setting up the registration form on the login page

is this the code if so what do i edit?

thanks
lenard

defined('_JEXEC') or die;

// Include the login functions only once
JLoader::register('ModLoginHelper', __DIR__ . '/helper.php');

$params->def('greeting', 1);

$type = ModLoginHelper::getType();
$return = ModLoginHelper::getReturnUrl($params, $type);
$twofactormethods = JAuthenticationHelper::getTwoFactorMethods();
$user = JFactory::getUser();
$layout = $params->get('layout', 'default');

// Logged users must load the logout sublayout
if (!$user->guest)
{
$layout .= '_logout';
}

require JModuleHelper::getLayoutPath('mod_login', $layout);
#236563
  • Posts: 156
  • Karma: 1
  • Thank you received: 14

Eddy.vh replied the topic: Setting up the registration form on the login page

Hello.

No, you have to override the login module.
Here is an article that explains how to make an override.

www.joomlashack.com/blog/joomla/overrides/
#236567
Moderators: ForumSupporttomeperica
Time to create page: 0.067 seconds

Summer Sale!

50% discount on all of our extension subscription plans & templates!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here