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

#   Custom button in user Cpanel?

##

- **[seoweb](/forum/user/4686-seoweb "View seoweb's Profile")**
- [![seoweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4686.gif)](/forum/user/4686-seoweb "View seoweb's Profile") Topic Author
- [ Offline](/forum/user/4686-seoweb)

Less More

- Posts: 80
- Thank you received: 1
-
-

14 years 10 months ago -  14 years 10 months ago [\#36504](#36504) by [seoweb](/forum/user/4686-seoweb "View seoweb's Profile")  *[Custom button in user Cpanel?](/forum/4-how-to/36504-custom-button-in-user-cpanel#36504 "Hello,  I need some help, please, with adding of custom button to the user Cpanel with Image, Title and Description, just like the default onces. It will be linked to the custom page. From the code I have found there is no html/css code for this purpose - the foreach is used instead:  buttons as $oneButton){ echo $oneButton; } ?&gt;  How can I possibly include more buttons?")* was created by *[seoweb](/forum/user/4686-seoweb "View seoweb's Profile")*

Hello,

I need some help, please, with adding of custom button to the user Cpanel with Image, Title and Description, just like the default onces. It will be linked to the custom page.
From the code I have found there is no html/css code for this purpose - the foreach is used instead:

&lt;?php
foreach($this-&gt;buttons as $oneButton){
echo $oneButton;
}
?&gt;

How can I possibly include more buttons?

Last edit: 14 years 10 months ago by [seoweb](/forum/user/4686-seoweb "View seoweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM2NTA0LWN1c3RvbS1idXR0b24taW4tdXNlci1jcGFuZWw/dG1wbD1tYXJrZG93bg==) 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 10 months ago [\#36557](#36557) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom button in user Cpanel?](/forum/4-how-to/36504-custom-button-in-user-cpanel#36557 "Hello,  I need some help, please, with adding of custom button to the user Cpanel with Image, Title and Description, just like the default onces. It will be linked to the custom page. From the code I have found there is no html/css code for this purpose - the foreach is used instead:  buttons as $oneButton){ echo $oneButton; } ?&gt;  How can I possibly include more buttons?")*

You should create a hikashop plugin and implement the event onUserAccountDisplay(&amp;$buttons)
I invite you to look at the files of user account plugin which does just that:
plugins/hikashop/user_account.php
plugins/hikashop/user_account.xml

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

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

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