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

#   custom module dans fiche produit

##

- **[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") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2704
- Thank you received: 74
-
-

14 years 1 month ago -  14 years 1 month ago [\#67746](#67746) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[custom module dans fiche produit](/forum/5-support-en-francais-french-support-/67746-custom-module-dans-fiche-produit#67746 "Bonjour  j'ai cree un mod&#95;custom qui s'appelle product&#95;info dans mon template show&#95;default.php --&gt;  $product&#95;info&#95;get = JModuleHelper::getModule('mod&#95;custom','product&#95;info'); $product&#95;info = JModuleHelper::renderModule($product&#95;info&#95;get);  element-&gt;product&#95;name) ; ?&gt;  ca marche mais est ce la seule manière de proceder pour afficher un custom module ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

Bonjour

j'ai cree un mod_custom qui s'appelle product_info
dans mon template show_default.php --&gt;

$product_info_get = JModuleHelper::getModule('mod_custom','product_info');
$product_info = JModuleHelper::renderModule($product_info_get);

&lt;? echo JText::sprintf($product_info,$this-&gt;element-&gt;product_name) ; ?&gt;

ca marche mais est ce la seule manière de proceder pour afficher un custom module ?

merci

Last edit: 14 years 1 month ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNjc3NDYtY3VzdG9tLW1vZHVsZS1kYW5zLWZpY2hlLXByb2R1aXQ/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: 86582
- Thank you received: 14322
-
-

14 years 1 month ago [\#67907](#67907) 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 module dans fiche produit](/forum/5-support-en-francais-french-support-/67746-custom-module-dans-fiche-produit#67907 "Bonjour  j'ai cree un mod&#95;custom qui s'appelle product&#95;info dans mon template show&#95;default.php --&gt;  $product&#95;info&#95;get = JModuleHelper::getModule('mod&#95;custom','product&#95;info'); $product&#95;info = JModuleHelper::renderModule($product&#95;info&#95;get);  element-&gt;product&#95;name) ; ?&gt;  ca marche mais est ce la seule manière de proceder pour afficher un custom module ?  merci")*

Bonjour,

Vous pouvez également utiliser l'extension joomla "Modules anywhere" pour charger un module avec simplement un tag dans la vue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNjc3NDYtY3VzdG9tLW1vZHVsZS1kYW5zLWZpY2hlLXByb2R1aXQ/dG1wbD1tYXJrZG93bg==) 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") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2704
- Thank you received: 74
-
-

14 years 1 month ago [\#67949](#67949) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: custom module dans fiche produit](/forum/5-support-en-francais-french-support-/67746-custom-module-dans-fiche-produit#67949 "Bonjour  j'ai cree un mod&#95;custom qui s'appelle product&#95;info dans mon template show&#95;default.php --&gt;  $product&#95;info&#95;get = JModuleHelper::getModule('mod&#95;custom','product&#95;info'); $product&#95;info = JModuleHelper::renderModule($product&#95;info&#95;get);  element-&gt;product&#95;name) ; ?&gt;  ca marche mais est ce la seule manière de proceder pour afficher un custom module ?  merci")*

ok merci

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

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