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

#   How to display user name in cpanel ?

##

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

Less More

- Posts: 71
- Thank you received: 3
-
-

11 years 5 months ago [\#203643](#203643) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  *[How to display user name in cpanel ?](/forum/33-customers/877317-how-to-display-user-name-in-cpanel#203643 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hello,  How can I add the username of customer in the cpanel view ?  Thanks a lot")* was created by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1

Hello,

How can I add the username of customer in the cpanel view ?

Thanks a lot

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 5 months ago [\#203645](#203645) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to display user name in cpanel ?](/forum/33-customers/877317-how-to-display-user-name-in-cpanel#203645 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hello,  How can I add the username of customer in the cpanel view ?  Thanks a lot")*

Hi,

You can add the code: Code:

&lt;?php $user = hikashop_loadUser(true); echo $user-&gt;username; ?&gt;

in the view "user / cpanel".

[ www.hikashop.com/support/support/documen...ize-the-display.html](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html)

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

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

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

Less More

- Posts: 78
- Thank you received: 0
-
-

11 years 5 months ago [\#203833](#203833) by [featha](/forum/user/36230-featha "View featha's Profile")  Replied by *[featha](/forum/user/36230-featha "View featha's Profile")* on topic *[How to display user name in cpanel ?](/forum/33-customers/877317-how-to-display-user-name-in-cpanel#203833 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hello,  How can I add the username of customer in the cpanel view ?  Thanks a lot")*

Joomla: 3.4.1
HikaShop Business: 2.4.0

Hi,

I want to show the username that have logged in next to the 'Logout' button.
Something like 'Hi Joe' &#124; LOGOUT
Will this code insert achieve that?
I found the view/cpanel.php but not sure where to insert the code into the php file.
Could you tell me the line number?

Thanks

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

11 years 5 months ago [\#203834](#203834) 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 name in cpanel ?](/forum/33-customers/877317-how-to-display-user-name-in-cpanel#203834 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hello,  How can I add the username of customer in the cpanel view ?  Thanks a lot")*

Hi,

There is no "logout" button in the HikaShop cpanel ; what you're looking for is related to Joomla itself and not to HikaShop.

Regards,

---

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

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

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