Standard registration page same as checkout reg...

  • Posts: 52
  • Thank you received: 2
10 years 5 months ago #134045

I've looked everywhere on the forum, but can't find an answer


.

I just want to change the standard registartion page to look like the checkout registration page (see image). Basically, it just needs the title at the top (Login or create a new account) with the green underline and the login form to the left of the registration page.

Can anyone help please :side:




See website for standard registration page: s293983206.websitehome.co.uk/elevateshop...x.php/register-login

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #134136

Hi,

You just have to add a position in your template. Then on the register-login menu add the login module in the previously created position. It require some template editions.

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

  • Posts: 52
  • Thank you received: 2
10 years 5 months ago #134171

Where can i find the login php file used for the user page, so that I can replace it with the login php used for the checkout page?

I've added the standard Joomla login module, but that does not look like anything like the checkout login page?

Is it possible to just copy the checkout login php and replace it on the joomla login php file?

See here: s293983206.websitehome.co.uk/elevateshop...x.php/register-login

Last edit: 10 years 5 months ago by Lexnia.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #134239

Hi,

There is different forms which are doing different actions so you can't really re-use the same view.
For me adding a module is the best way of doing that, then it require some css to customize the view as you want.

You can too edit the view "user / registration" via the menu Display > Views and in this view add the desired elements and do a {loadmodule} (Joomla feature) to add the module inside the view.

The following user(s) said Thank You: Lexnia

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

  • Posts: 52
  • Thank you received: 2
10 years 5 months ago #134445

Ok, I'm a bit lost. I've gone to view > user / registartion.php and tried adding this:

<?php
$this->type = 'login_form';
echo $this->loadTemplate();
?>

but, nothing happens.

What am I doing wrong? :(

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
10 years 5 months ago #134501

No, Xavier said that you should use a loadmodule tag:
docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F

However, that won't work either as it can only work in content.
Instead, you'll have to use module anywhere in order to do that:
extensions.joomla.org/extensions/core-en...embed-a-include/6402

The following user(s) said Thank You: Lexnia

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

  • Posts: 52
  • Thank you received: 2
10 years 5 months ago #134668

Hi Nicolas & Xavier,

I ended up linking the joomla login module and tweaked the css....looks nearly exactly the same now.

Thanks for your help both of you. :cheer:

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

Time to create page: 0.087 seconds
Powered by Kunena Forum