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

#   Filter display always ...

##

- **[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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14294
-
-

6 years 7 months ago -  6 years 7 months ago [\#316479](#316479) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter display always ...](/forum/45-filters-search/899298-filter-display-always?start=20#316479 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3..15  hello i add filter module in my right position i disable display in checkout, and product view, only for products listing .. module doesn't show BUT position seems occuped not realy empty !  thanks for all")*

@ced1870:
Il me semble aussi que AMM est sensé faire cela. D'où le fait que j'ai conseillé de l'utiliser.
Sinon, oui il faudrait voir ce que renvoi JModuleHelper::getModules( $position );
Cela donnera peut être une information sur ce qui est généré par le module.
Après, sinon, dans HikaShop j'utilise ce code:
$html = JModuleHelper::renderModule($module);
qui renvoi le code HTML du module, donc ce pourrait être quelque chose à creuser pour afficher ou non le jinclude en fonction de l'HTML retourné par les modules de la position.

@micker:
Il n'y a rien dans le code de ce lien qui permettrait de ne pas afficher la position si le module est vide.
Tout ce que fait le code dans ce module, c'est ne pas afficher d'HTML sous certaines conditions, ce que fait déjà le module d'HikaShop.
Donc si Flexicontent a fait quelque chose pour gérer cela, c'est à un autre niveau. Par exemple en surchargeant le comptage des modules pour enlever les modules vides du comptage. Mais bon, c'est pas vraiment le rôle du module de modifier la façon dont Joomla/le template décide d'afficher une position ou non.

Last edit: 6 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 180
- Thank you received: 0
-
-

6 years 7 months ago [\#316501](#316501) by [micker](/forum/user/105-micker "View micker's Profile")  Replied by *[micker](/forum/user/105-micker "View micker's Profile")* on topic *[Filter display always ...](/forum/45-filters-search/899298-filter-display-always?start=20#316501 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3..15  hello i add filter module in my right position i disable display in checkout, and product view, only for products listing .. module doesn't show BUT position seems occuped not realy empty !  thanks for all")*

bon .... on est bien lol
je vais essayer de voir une solution en css en attendant sinon essayer de charger le module directement depuis le template hikashop

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

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