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

#   comment editer la page cpanel

##

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

Less More

- Posts: 91
- Thank you received: 0
-
-

13 years 6 months ago [\#103114](#103114) by [ces](/forum/user/12272-ces "View ces's Profile")  *[comment editer la page cpanel](/forum/5-support-en-francais-french-support-/81610-comment-editer-la-page-cpanel#103114 "Je voudrais suppimer les champs affiliations et subscription, je suis allé dans le fichier vews/user/tmpl/cpanel.php  Mais je ne vois rien pour modifier ces 2 champs.")* was created by *[ces](/forum/user/12272-ces "View ces's Profile")*

Je voudrais suppimer les champs affiliations et subscription, je suis allé dans le fichier vews/user/tmpl/cpanel.php

Mais je ne vois rien pour modifier ces 2 champs.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE2MTAtY29tbWVudC1lZGl0ZXItbGEtcGFnZS1jcGFuZWw/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#103132](#103132) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[comment editer la page cpanel](/forum/5-support-en-francais-french-support-/81610-comment-editer-la-page-cpanel#103132 "Je voudrais suppimer les champs affiliations et subscription, je suis allé dans le fichier vews/user/tmpl/cpanel.php  Mais je ne vois rien pour modifier ces 2 champs.")*

Bonsoir,

Attention à ne pas modifier les vues d'HikaShop directement dans les fichiers mais de passer par l'interface d'administration afin de créer des overrides et ne pas perdre votre travail durant une mise à jour.

La vue "User &#124; cpanel" s'occupe d'afficher les éléments contenu dans la variable "$this-&gt;buttons".
Cette variable est préalablement remplie dans le fichier "view.html.php" et il y a un appel à un trigger pour que des plugins (comme le plugin d'affiliation) puissent ajouter leurs propre boutons.

Dans la vue, si vous souhaitez supprimer un bouton, le mieux est d'ajouter un test afin de "zapper" son affichage. Code:

foreach($this-&gt;buttons as $oneButton){ if($oneButton['text'] == JText::_('AFFILIATE')) continue;

Cordialement,

---

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

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

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

Less More

- Posts: 91
- Thank you received: 0
-
-

13 years 6 months ago [\#103307](#103307) by [ces](/forum/user/12272-ces "View ces's Profile")  Replied by *[ces](/forum/user/12272-ces "View ces's Profile")* on topic *[comment editer la page cpanel](/forum/5-support-en-francais-french-support-/81610-comment-editer-la-page-cpanel#103307 "Je voudrais suppimer les champs affiliations et subscription, je suis allé dans le fichier vews/user/tmpl/cpanel.php  Mais je ne vois rien pour modifier ces 2 champs.")*

merci ça marche !

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

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