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

#   how to display user profile

##

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 2 months ago -  10 years 2 months ago [\#248853](#248853) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#248853 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

ok i understand it now

but a few more questions.

1. when i fill up and save user edit form it redirects to joomla form with out the custom fields

[ ![Screenshot-pro-redirect.png](/forum/attachment/33275) ](/forum/attachment/33275 "...o-redirect.png")

where are the custom fields?

2. when i go back to the menu link user edit orm everything is ok.

[ ![Screenshot-pro-com2.jpg](/forum/attachment/33278) ](/forum/attachment/33278 "...t-pro-com2.jpg")

so even do after saving the custom fields are not there it was saved successfully

3. now if i click on save or submit, the image upload always saves even do no changes or no file was uploaded.. Same thing if i change the name or company affiliation the image disappears or gets replace with a null value i guess.

[ ![Screenshot-pro-empty.png](/forum/attachment/33277) ](/forum/attachment/33277 "...-pro-empty.png")

.
how can we make it retain the image ? if no changes were done?

BTW this is the settings of my image upload buttoon

[ ![Screenshot-image-upload.png](/forum/attachment/33282) ](/forum/attachment/33282 "...age-upload.png")

thanks

- [ ![Screenshot-pro-redirect.png](/forum/attachment/33275) ](/forum/attachment/33275 "...o-redirect.png") [ ](/forum/attachment/33275?download=1 "...o-redirect.png")
- [ ![Screenshot-pro-empty.png](/forum/attachment/33277) ](/forum/attachment/33277 "...-pro-empty.png") [ ](/forum/attachment/33277?download=1 "...-pro-empty.png")
- [ ![Screenshot-pro-com2.jpg](/forum/attachment/33278) ](/forum/attachment/33278 "...t-pro-com2.jpg") [ ](/forum/attachment/33278?download=1 "...t-pro-com2.jpg")
- [ ![Screenshot-image-upload.png](/forum/attachment/33282) ](/forum/attachment/33282 "...age-upload.png") [ ](/forum/attachment/33282?download=1 "...age-upload.png")

Last edit: 10 years 2 months ago by [ronron](/forum/user/40399-ronron "View ronron's Profile").

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

10 years 2 months ago [\#248895](#248895) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#248895 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

Hi,

It might be linked to your template. Please try with the default template of Joomla.
Does that work or do you have the same problem?
If you have the same problem, please provide the links of the pages and, a test account, and the steps to reproduce so that we can look into the issue.

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 2 months ago -  10 years 2 months ago [\#248936](#248936) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#248936 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

hi nic

i just tried it with beez3 but the problem persists.

this is the joomla edit link [ edit](http://mayari.com.ph/edit-user-proflle)

this is the hikashop user panel [ user panel ](http://mayari.com.ph/investor-buyer-profile)

Part of the message is hidden for the guests. Please log in or register to see it.

you may login and try to add and edit a photo.

issues
1. if add an image and you save or submit, it gets redirected to the user profile with out the hikashop custom fields
2. every time you edit a field the image is always changed. exaple if you change name field the image upload will be replaced by a null value or empty, actually i dont know if its null but its empty. So you have to reupload the image again

BTW if i save the changes it is redirected to this link [ mayari.com.ph/edit-user-proflle/profile](http://mayari.com.ph/edit-user-proflle/profile)
instead of this one [ mayari.com.ph/edit-user-proflle](http://mayari.com.ph/edit-user-proflle).

HikaShop user account plugin is enabled and has [ mayari.com.ph/edit-user-proflle](http://mayari.com.ph/edit-user-proflle) id to force redirect

thanks

Last edit: 10 years 2 months ago by [ronron](/forum/user/40399-ronron "View ronron's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#248955](#248955) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#248955 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

Hi,

Please use the "ajax image" instead of the "image" custom field.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [ronron](/forum/user/40399-ronron "View ronron's Profile")

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 2 months ago [\#249027](#249027) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249027 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

thanks jerome

using the ajax image worked great.

the last problem is that if i save or submit. it still redirects to the profile or edit user profile page with out the custom fields.

the edit user profile link is http://.../Edit-User-Profile
when i save it goes to http://.../Edit-User-Profile/profile

it should go to http://.../Edit-User-Profile.

how can i force the redirect after save to hikashop menu?

thanks again

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

10 years 2 months ago [\#249036](#249036) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249036 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

Hi,

The save process is handled by Joomla. When you click on the "submit" button of the Joomla edit profile page, Joomla is redirecting you to the Joomla profile page. That's how it is supposed to be.
If you want it to go somewhere else, you'll have to modify the code of the layout in Joomla with an override or maybe even modify the Joomla core file controlling the saving process. But that's not something we can help with. You'll have to have a developer help you with it.

The following user(s) said Thank You: [ronron](/forum/user/40399-ronron "View ronron's Profile")

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 2 months ago [\#249099](#249099) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249099 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

great

my next question is the preview versus the frontend of the ajax image.

this is the preview with my default image

[ ![Screenshot-backend.png](/forum/attachment/33318) ](/forum/attachment/33318 "...ot-backend.png")

this is the front end

[ ![Screenshot-frontend.png](/forum/attachment/33319) ](/forum/attachment/33319 "...t-frontend.png")

obviously the back end is better. How can i have the same interface?

thanks

- [ ![Screenshot-backend.png](/forum/attachment/33318) ](/forum/attachment/33318 "...ot-backend.png") [ ](/forum/attachment/33318?download=1 "...ot-backend.png")
- [ ![Screenshot-frontend.png](/forum/attachment/33319) ](/forum/attachment/33319 "...t-frontend.png") [ ](/forum/attachment/33319?download=1 "...t-frontend.png")

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

10 years 2 months ago [\#249105](#249105) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249105 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

Hi,

It's already the same interface. Only the title is inside because the form in the backend isn't made the same way as the form on the profile page, and the upload button is not aligned properly because of the template's CSS.
The rest is the same so I'm not sure what you're saying when you say that it's not "the same interface" ?

The following user(s) said Thank You: [ronron](/forum/user/40399-ronron "View ronron's Profile")

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

10 years 2 months ago [\#249770](#249770) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249770 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

thanks

the default value isnt showing. in this case the default photo isnt appearing.

also the upload icon is small 16px. file name is upload icon.
Code:

div.hikashop_uploader_image_add span.hika_upload_btn, div.hikashop_uploader_file_add span.hika_upload_btn { background-image: url(../images/icon-16/upload.png); }

i would like to use this one. this is 32px
Code:

div.hikashop_uploader_image_add span.hika_upload_btn, div.hikashop_uploader_file_add span.hika_upload_btn { background-image: url(../images/upload2.png); }

thank you

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

10 years 2 months ago [\#249817](#249817) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249817 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

Hi,

For the default image, I think that you're misunderstanding something. It's not because you select a default image in the field that all the users will have that value by default. By default they'll all have "empty" in the field. So you would have to change the code where you display the image with something like that: Code:

&lt;?php $user = hikashop_loadUser(true); if(empty($user-&gt;image){ echo 'HTML of the default image I want to display'; }else{ echo $user-&gt;image; } ?&gt;

For the icon, just change the frontend CSS of HikaShop via the HikaShop configuration.

The following user(s) said Thank You: [ronron](/forum/user/40399-ronron "View ronron's Profile")

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

10 years 2 months ago [\#249863](#249863) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[how to display user profile](/forum/33-customers/885890-how-to-display-user-profile?start=20#249863 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  i customized a few fields in the user profile, which i think is the joomla user profile.  how can i display this in the front end? how can i display it on the custom html module?  thanks")*

Hi,

I suggest to look into component called "easy profile". I think it would save you a lot time instead making everything by your own.

Thanks

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

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