Skip to main content

custom module dans fiche produit

More
14 years 4 days ago - 14 years 4 days ago #67746 by erickb
Bonjour

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

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

<? echo JText::sprintf($product_info,$this->element->product_name) ; ?>

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

merci
Last edit: 14 years 4 days ago by erickb.

Please Log in or Create an account to join the conversation.

More
14 years 2 days ago #67907 by nicolas
Bonjour,

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

Please Log in or Create an account to join the conversation.

More
14 years 2 days ago #67949 by erickb
ok merci

Please Log in or Create an account to join the conversation.

Time to create page: 0.162 seconds
Powered by Kunena Forum