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

#   Ajout de colonne dans la vue listing en admin

##

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

Less More

- Posts: 51
- Thank you received: 0
-
-

12 years 7 months ago [\#148394](#148394) by [svillechange](/forum/user/7610-svillechange "View svillechange's Profile")  *[Ajout de colonne dans la vue listing en admin](/forum/5-support-en-francais-french-support-/866666-ajout-de-colonne-dans-la-vue-listing-en-admin#148394 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour, j'aimerais ajouter des colonnes sur la vue &quot;rapport - liste Produits/commande le mieux c'est de regarder les pièces jointes pour comprendre. D'avance merci.")* was created by *[svillechange](/forum/user/7610-svillechange "View svillechange's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5.14
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Bonjour, j'aimerais ajouter des colonnes sur la vue "rapport - liste Produits/commande le mieux c'est de regarder les pièces jointes pour comprendre.
D'avance merci.

[ ![h1303533.jpg](/forum/attachment/16031) ](/forum/attachment/16031 "h1303533.jpg")

- [ ![h1303533.jpg](/forum/attachment/16031) ](/forum/attachment/16031 "h1303533.jpg") [ ](/forum/attachment/16031?download=1 "h1303533.jpg")

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

12 years 7 months ago [\#148412](#148412) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ajout de colonne dans la vue listing en admin](/forum/5-support-en-francais-french-support-/866666-ajout-de-colonne-dans-la-vue-listing-en-admin#148412 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour, j'aimerais ajouter des colonnes sur la vue &quot;rapport - liste Produits/commande le mieux c'est de regarder les pièces jointes pour comprendre. D'avance merci.")*

Bonsoir,

Pour ce que je sais des report, ce n'est pas possible sans modifier le core d'HikaShop.
Le système de report d'Hikashop n'as pas été conçu dans cet objectif là.

Cordialement,

---

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

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

12 years 7 months ago [\#148439](#148439) by [svillechange](/forum/user/7610-svillechange "View svillechange's Profile")  Replied by *[svillechange](/forum/user/7610-svillechange "View svillechange's Profile")* on topic *[Ajout de colonne dans la vue listing en admin](/forum/5-support-en-francais-french-support-/866666-ajout-de-colonne-dans-la-vue-listing-en-admin#148439 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour, j'aimerais ajouter des colonnes sur la vue &quot;rapport - liste Produits/commande le mieux c'est de regarder les pièces jointes pour comprendre. D'avance merci.")*

Bonjour et merci pour la réponse.

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

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

Less More

- Posts: 2697
- Thank you received: 74
-
-

12 years 7 months ago -  12 years 7 months ago [\#148449](#148449) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Ajout de colonne dans la vue listing en admin](/forum/5-support-en-francais-french-support-/866666-ajout-de-colonne-dans-la-vue-listing-en-admin#148449 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour, j'aimerais ajouter des colonnes sur la vue &quot;rapport - liste Produits/commande le mieux c'est de regarder les pièces jointes pour comprendre. D'avance merci.")*

J'ai aussi parfois besoin de colonnes dans les listing de l'admin

une idee de code pour rajouter des champs dans l'array qui distribue les colonnes (ici c'est pour ajouter l'icone des produits)
Code:

$ids = array(); foreach($this-&gt;rows as $row) { $ids[] = $row-&gt;product_id; } $prodids = implode(',', $ids); $qico = 'SELECT file_ref_id,file_path FROM #__hikashop_file WHERE file_ordering =0 AND file_type = "product" AND file_ref_id IN '; $db = JFactory::getDBO(); $db-&gt;setQuery($qico . '(' . $prodids . ')' ); $ret = $db-&gt;loadObjectList('file_ref_id'); foreach($this-&gt;rows as $k =&gt; $row) { if(isset($ret[$row-&gt;product_id]) ) { $this-&gt;rows[$k]-&gt;icone = $ret[$row-&gt;product_id]-&gt;file_path; $this-&gt;rows[$k]-&gt;icone_id = $ret[$row-&gt;product_id]-&gt;file_ref_id; } }

Last edit: 12 years 7 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

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

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

12 years 7 months ago -  12 years 7 months ago [\#148488](#148488) by [svillechange](/forum/user/7610-svillechange "View svillechange's Profile")  Replied by *[svillechange](/forum/user/7610-svillechange "View svillechange's Profile")* on topic *[Ajout de colonne dans la vue listing en admin](/forum/5-support-en-francais-french-support-/866666-ajout-de-colonne-dans-la-vue-listing-en-admin#148488 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.14 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour, j'aimerais ajouter des colonnes sur la vue &quot;rapport - liste Produits/commande le mieux c'est de regarder les pièces jointes pour comprendre. D'avance merci.")*

Bonjour et merci pour cette réponse je vais tester ça. juste si vous pouviez m'indiquer quel fichier éditer pour cela ça serait super gentil...

Merci d'avance

Last edit: 12 years 7 months ago by [svillechange](/forum/user/7610-svillechange "View svillechange's Profile").

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

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

[](#top)
