[Skip to main content](#vessel-content)

#   login and registration

##

- **[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")**
- [![nuteduard's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1788-nuteduard "View nuteduard's Profile") Topic Author
- [ Offline](/forum/user/1788-nuteduard)

Less More

- Posts: 16
- Thank you received: 0
-
-

15 years 7 months ago [\#12171](#12171) by [nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")  *[login and registration](/forum/4-how-to/12171-login-and-registration#12171 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")* was created by *[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")*

I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect to the popup for registration or login instead of the usual forms.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

15 years 7 months ago [\#12174](#12174) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12174 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

You could add your pop login module in a joomla article. Then, edit the file login of the view checkout via the menu Display-&gt;Views and add a redirect to that article when the user is not logged in.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")**
- [![nuteduard's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1788-nuteduard "View nuteduard's Profile") Topic Author
- [ Offline](/forum/user/1788-nuteduard)

Less More

- Posts: 16
- Thank you received: 0
-
-

15 years 7 months ago [\#12175](#12175) by [nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")  Replied by *[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12175 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

since i am still new to joomla and hika, with less then basic programing skill what you just told me sounds more complicated then putting together an airplane :laugh:

please talk to me like to a moron so that i can understand

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

15 years 7 months ago [\#12181](#12181) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12181 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

In a joomla article, you need to use the loadposition system to load your module : [ docs.joomla.org/How\_do\_you\_put\_a\_module\_inside\_an\_article%3F](http://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F)

Then, create a menu item to that article so that you can copy the link and then put that menu on a hidden main menu.
Then, in the file I was talking about, you can add such code:
$app =&amp; JFactory::getApplication();
$app-&gt;redirect('URL_OF_YOUR_MENU');
just after:
if(!$this-&gt;identified){

and voilà. If a user access the checkout without being logged in, he will be redirected to your article with the login/registration module in it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")**
- [![nuteduard's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1788-nuteduard "View nuteduard's Profile") Topic Author
- [ Offline](/forum/user/1788-nuteduard)

Less More

- Posts: 16
- Thank you received: 0
-
-

15 years 7 months ago [\#12188](#12188) by [nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")  Replied by *[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12188 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

that would work if it was a normal module. the load module in article worked. the problem with it is that the modul loads two buttons one for login one for registration. each button uses javascript to open a popup for the login and registration forms. so in this case it will not work. there might be another way tho. could hika instead of redirecting the user to the login/registration forms to just simply return a text where it asks the user to login or register?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

15 years 7 months ago [\#12205](#12205) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12205 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

Sure. You can remove everything in the file and add something like that:

&lt;?php if(!$this-&gt;identified){
$this-&gt;nextButton = false;
?&gt;
Please click here to login or register before checking out
&lt;?php }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")**
- [![nuteduard's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1788-nuteduard "View nuteduard's Profile") Topic Author
- [ Offline](/forum/user/1788-nuteduard)

Less More

- Posts: 16
- Thank you received: 0
-
-

15 years 7 months ago [\#12216](#12216) by [nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")  Replied by *[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12216 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

tried it and i still get the login and registration forms.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

15 years 7 months ago [\#12231](#12231) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12231 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

Are you sure that you removed everything in the file? Did the save worked ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")**
- [![nuteduard's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1788-nuteduard "View nuteduard's Profile") Topic Author
- [ Offline](/forum/user/1788-nuteduard)

Less More

- Posts: 16
- Thank you received: 0
-
-

15 years 7 months ago [\#12263](#12263) by [nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")  Replied by *[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12263 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

yes. i removed everything in that file and the save worked. it may be something else tho. i have the products. i placed the cart below the product images. when i open the cart the products are still there and the cart opens below. if i press checkout then the login and register forms appear below the above mentioned. they don't open separately, but instead they append after the previous ones. i know that there must be a setting to fix that. maybe this will also fix the other matter.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

15 years 7 months ago [\#12269](#12269) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12269 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

Maybe you didn't edit the correct login file ? There should be one login file per template installed on your website. So if you edit the login file of another template that the one you're using on the checkout, the modification won't be taken into account.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")**
- [![nuteduard's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1788-nuteduard "View nuteduard's Profile") Topic Author
- [ Offline](/forum/user/1788-nuteduard)

Less More

- Posts: 16
- Thank you received: 0
-
-

15 years 7 months ago [\#12270](#12270) by [nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")  Replied by *[nuteduard](/forum/user/1788-nuteduard "View nuteduard's Profile")* on topic *[Re: login and registration](/forum/4-how-to/12171-login-and-registration#12270 "I am using YJ pop login module to take care of my login and registration process. my inquiry is actually about how to integrate your login and registration into YJ. i would want the shop to redirect...")*

you were right. i was editing the correct file but in the wrong template. thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTcxLWxvZ2luLWFuZC1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.113 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
