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

#   Disable all User Editing

##

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 11 months ago [\#33504](#33504) by [steveman](/forum/user/5206-steveman "View steveman's Profile")  *[Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33504 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")* was created by *[steveman](/forum/user/5206-steveman "View steveman's Profile")*

Hi I'm new and still setting up Hikashop. Best cart application I've tried.
Is there a way to disable all "Joomla user account editing" features in Hikashop? Examples:

1) On Hikashop User Addresses screen, if I click on "cancel" it will go to the User Control Panel screen. I don't want that.
2) Without logging in, clicking on "Customer Orders" will display the Joomla log in interface. I just want to display a message like "please log in first".

Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like "Please ensure you are a Registered User and have logged in". The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like "reset password","edit email" etc)

Thanks to anyone who can give some hints.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzNTA0LWRpc2FibGUtYWxsLXVzZXItZWRpdGluZz90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

14 years 11 months ago -  14 years 11 months ago [\#33531](#33531) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33531 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")*

Hi,

1.You can edit the file "listing" of the view "address" via the menu Display-&gt;Views and remove the code of that button near the beginning of the file.

2. That's not possible without editing directly core files of HikaShop in the folder components/com_hikashop/controllers.
The best would be to edit the view file of the joomla login screen to remove the links you don't want.
On joomla 1.5 it's the file components/com_user/views/login/tmpl/default_login.php
On joomla 1.7 it's the file components/com_users/views/login/tmpl/default_login.php

Last edit: 14 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile"). Reason: wrong file name

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 11 months ago [\#33547](#33547) by [steveman](/forum/user/5206-steveman "View steveman's Profile")  Replied by *[steveman](/forum/user/5206-steveman "View steveman's Profile")* on topic *[Re: Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33547 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")*

Thank you.

1) I found the file address/form.php. You said "remove the code of that button near the beginning of the file". Please tell me which lines I should remove. (I can't do PHP code... so embarrassing)

2) On Joomla 1.7, I removed the section containing "forgot password"and problem SOLVED as according to your suggestion!

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 11 months ago [\#33549](#33549) by [steveman](/forum/user/5206-steveman "View steveman's Profile")  Replied by *[steveman](/forum/user/5206-steveman "View steveman's Profile")* on topic *[Re: Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33549 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")*

By the way, is the behavior of menu link "User Addresses" different from "Customer Orders" ?
Clicking on "User Addresses" without logging in shows an empty page and does not bring up the Login Box, as in the case for "Customer Orders".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzNTA0LWRpc2FibGUtYWxsLXVzZXItZWRpdGluZz90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

14 years 11 months ago [\#33573](#33573) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33573 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")*

2.

It's that code:
&lt;td&gt;
&lt;a href="&lt;?php echo hikashop_completeLink('user');?&gt;" &gt;
&lt;span class="icon-32-cancel" title="&lt;?php echo JText::_('HIKA_CANCEL'); ?&gt;"&gt;
&lt;/span&gt;
&lt;?php echo JText::_('HIKA_CANCEL'); ?&gt;
&lt;/a&gt;
&lt;/td&gt;

There is indeed no check on the user state (logged or not) for the address listing. It just won't display anything in that case. Usually, people come from the user control panel which already checks on that or they set the joomla menu linking directly to it to only display for registered users, thus rendering that check not necessary.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 11 months ago [\#33594](#33594) by [steveman](/forum/user/5206-steveman "View steveman's Profile")  Replied by *[steveman](/forum/user/5206-steveman "View steveman's Profile")* on topic *[Re: Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33594 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")*

It should be the file "address/listing.php" and not "address/form.php" where I found this code to be removed. Great, that took care of the User Addresses cancel button.

I did the same for Customer Orders in the file "order/listing.php" and removed the cancel button as well.

Thanks for the solution on using joomla menu link for registered users, I had forgotten about that. I need to skip the control panel as it leads to the edit profile.

SOLVED - Closing this thread.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzNTA0LWRpc2FibGUtYWxsLXVzZXItZWRpdGluZz90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

14 years 11 months ago [\#33610](#33610) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Disable all User Editing](/forum/4-how-to/33504-disable-all-user-editing#33610 "Hi I'm new and still setting up Hikashop. Best cart application I've tried. Is there a way to disable all &quot;Joomla user account editing&quot; features in Hikashop? Examples:  1) On Hikashop User Addresses screen, if I click on &quot;cancel&quot; it will go to the User Control Panel screen. I don't want that. 2) Without logging in, clicking on &quot;Customer Orders&quot; will display the Joomla log in interface. I just want to display a message like &quot;please log in first&quot;.  Basically I do not want any Joomla User Login and Registration stuffs to be shown. They should all be replaced with simple error message like &quot;Please ensure you are a Registered User and have logged in&quot;. The reason is that my site does not use the Joomla login/registration interface(and that's because I do not want any user data changes like &quot;reset password&quot;,&quot;edit email&quot; etc)  Thanks to anyone who can give some hints.")*

Yes, sorry for that, I gave you the wrong file name.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzNTA0LWRpc2FibGUtYWxsLXVzZXItZWRpdGluZz90bXBsPW1hcmtkb3du) 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.067 seconds

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