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

#   Need little help in backend customization

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 2 months ago [\#64480](#64480) by [vvujke](/forum/user/8287-vvujke "View vvujke's Profile")  *[Need little help in backend customization](/forum/4-how-to/64480-need-little-help-in-backend-customization#64480 "Hi all, I need little help in backend. What I would like to add/change is:  &#42; On Customer page to add column that displays user groups after username column  &#42; On Order page to add column that displays user groups after Customer column  Tnx :cheer:")* was created by *[vvujke](/forum/user/8287-vvujke "View vvujke's Profile")*

Hi all,
I need little help in backend. What I would like to add/change is:

1. On Customer page to add column that displays user groups after username column
2. On Order page to add column that displays user groups after Customer column

Tnx ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")

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

14 years 2 months ago [\#64584](#64584) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Need little help in backend customization](/forum/4-how-to/64480-need-little-help-in-backend-customization#64584 "Hi all, I need little help in backend. What I would like to add/change is:  &#42; On Customer page to add column that displays user groups after username column  &#42; On Order page to add column that displays user groups after Customer column  Tnx :cheer:")*

Hi,

You can edit these layouts for your back end template via the menu Display-&gt;Views. It's the file "form" of the views "user" and "order".

You will have to get the order user id for the order view :
$id = $this-&gt;order-&gt;order_user_id;

and for the user view:
$id = $this-&gt;user-&gt;user_id;

before using the $id in some joomla code to get the group of the user.
Here is a thread about that:
[ forum.joomla.org/viewtopic.php?t=530721](http://forum.joomla.org/viewtopic.php?t=530721)

Something like that might do the trick:
jimport( 'joomla.user.helper' );
$groups = JUserHelper::getUserGroups($id);
echo reset($groups);

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

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