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

#   User account panel

##

- **[skatercorpse](/forum/user/2922-skatercorpse "View skatercorpse's Profile")**
- [![skatercorpse's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2922.jpg)](/forum/user/2922-skatercorpse "View skatercorpse's Profile") Topic Author
- [ Offline](/forum/user/2922-skatercorpse)

Less More

- Posts: 55
- Thank you received: 0
-
-

15 years 3 months ago [\#22695](#22695) by [skatercorpse](/forum/user/2922-skatercorpse "View skatercorpse's Profile")  *[User account panel](/forum/4-how-to/22695-user-account-panel#22695 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")* was created by *[skatercorpse](/forum/user/2922-skatercorpse "View skatercorpse's Profile")*

Hi! ![:)](/media/kunena/emoticons/3.png ":)")

My specs: joomla 1.7, hikashop 1.5.3

How to?
When I log in in my account, I see the panel with:

User account - edit your account
Address - Edit your address
Orders - see your orders

If I click on **Address**, in the Address page I can clik **New** or **Cancel**
If I click on **Cancel** I get redirected to my **user panel**.
And I find it is the right behaviour.

If I click on **User account** instead, and then **Cancel** I get redirected to my **homepage**...
Why? I think it should redirect you to the User panel. It makes more sense.
How can I do that?

In addition, in the **User account page**, **Cancel is a simple link**. In the **Address page** and in the **Orders** page **Cancel is a simple Link with an image**.
Why not making them all the same?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIyNjk1LXVzZXItYWNjb3VudC1wYW5lbD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

15 years 3 months ago [\#22696](#22696) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#22696 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

Hi,

The reason is simple. The User acount page is NOT a HikaShop page but a Joomla page.
So we can't change the cancel link to add an image and we can't change it to direct to the user control panel. However, if you want, you can do it yourself by editing that joomla view in the file components/com_user/views/user/tmpl/form.php

Alternatively, you can unpbulish the Hikashop User account Plugin so that the User account link is not displayed on the user control panel.

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

- **[skatercorpse](/forum/user/2922-skatercorpse "View skatercorpse's Profile")**
- [![skatercorpse's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2922.jpg)](/forum/user/2922-skatercorpse "View skatercorpse's Profile") Topic Author
- [ Offline](/forum/user/2922-skatercorpse)

Less More

- Posts: 55
- Thank you received: 0
-
-

15 years 3 months ago [\#22697](#22697) by [skatercorpse](/forum/user/2922-skatercorpse "View skatercorpse's Profile")  Replied by *[skatercorpse](/forum/user/2922-skatercorpse "View skatercorpse's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#22697 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

![:)](/media/kunena/emoticons/3.png ":)")
Now everything is clear!
Thank you!
![;)](/media/kunena/emoticons/24.png ";)")

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 3 months ago [\#23847](#23847) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#23847 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

There is no "components/com_user/views/user/tmpl/form.php" in 1.6.6

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIyNjk1LXVzZXItYWNjb3VudC1wYW5lbD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

15 years 3 months ago -  15 years 3 months ago [\#23862](#23862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#23862 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

It's the file components/com_users/views/profile/tmpl/edit.php on joomla 1.6

Last edit: 15 years 3 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 3 months ago [\#24072](#24072) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24072 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

Actually it's templates/{yourtemplate}/com_user**s**/views/profile/tmpl/edit.php

But I can't edit how the form is displayed. I don't want to display certain fields.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIyNjk1LXVzZXItYWNjb3VudC1wYW5lbD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

15 years 3 months ago [\#24090](#24090) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24090 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

That's because your template is overriding that view file so indeed the file is templates/{yourtemplate}/com_users/views/profile/tmpl/edit.php in that case.

Why can't you edit that file ?

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 3 months ago [\#24245](#24245) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24245 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

After yesterdays update to Joomla 1.7 and the latest version of the YOOtheme phoenix style the edit.php looks like this:
Code:

// include config and layout $base = dirname(dirname(dirname(__FILE__))); include($base.'/config.php'); include($warp-&gt;path-&gt;path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 3 months ago -  15 years 3 months ago [\#24246](#24246) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24246 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

Now I found the correct file in /templates/yoo_phoenix/warp/systems/joomla.1.7/layouts/com_users/profile

The problem is, the fields are loaded like this:
Code:

PHP foreach ($this-&gt;form-&gt;getFieldsets() as $fieldset): /PHP

So I can't remove e.g. the fields for username and name. Also hiding it with CSS is not possible.

Last edit: 15 years 3 months ago by [emergentec](/forum/user/949-emergentec "View emergentec's Profile"). Reason: php code

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIyNjk1LXVzZXItYWNjb3VudC1wYW5lbD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

15 years 3 months ago [\#24256](#24256) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24256 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

Why wouldn't you be able to remove it ?

You could do something like that probably:
if($fieldset-&gt;field_name =='my_field') continue;

Note that I don't know what is in $fieldset, I'm just giving an example. If $fieldset is HTML code, you could do a strpos or a regex on it or even remove the element from the $this-&gt;form object before the foreach...

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#24446](#24446) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24446 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

That's my solution:
Code:

if(strpos($field-&gt;label,"jform_username")!==false) continue

But then the user is not able to submit the form, because the form expects a name and username!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIyNjk1LXVzZXItYWNjb3VudC1wYW5lbD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

15 years 2 months ago [\#24447](#24447) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: User account panel](/forum/4-how-to/22695-user-account-panel#24447 "Hi! :)  My specs: joomla 1.7, hikashop 1.5.3  How to? When I log in in my account, I see the panel with: User account - edit your account Address - Edit your address Orders - see your orders  If I click on Address, in the Address page I can clik New or Cancel If I click on Cancel I get redirected to my user panel. And I find it is the right behaviour.  If I click on User account instead, and then Cancel I get redirected to my homepage... Why? I think it should redirect you to the User panel. It makes more sense. How can I do that?  In addition, in the User account page, Cancel is a simple link. In the Address page and in the Orders page Cancel is a simple Link with an image. Why not making them all the same?")*

Then, you should add it with a hidden input.

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

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