- Posts: 206
- Thank you received: 7
Filter display always ...
Please Log in or Create an account to join the conversation.
Not much we can do to help here. This indicates that your template is displaying that position because it sees the module, even if the module doesn't output anything.
Basically, the template has to rely not only on the count of the modules, but also check if their are empty or not:
joomla.stackexchange.com/a/18775
That's a common issue with templates.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Sorry, for the delay but usually we don't use the PM, but the Contact us form in order to allow every person from the HikaShop Team to help you.
Plus, your issue wasn't easy, we have to investigate in order to better understand the context, here the results step by step.
"hello i switch to protostart same display !!! colum is rendered without module !!
joomla core template isn't good too ?"
- To better understand the situation, and unfortunately, yes, ProtoStar have the same issue, see this link .
- The point is that your template count the number of module but doesn't check if it's empty, as result the display space is created, but as there are nothing to display... You have the empty space.
And so, from the Start Nicolas was right the template is the root issue, and we lost time because we didn't know that protostar had this problem too... Sorry for this.
Now, your next step is to contact your template support.
Regards
Please Log in or Create an account to join the conversation.
i will check more but if all templates have problem and core template too ... are you sure about your approch ?
i use flexicontent component and we have a option for display module in specific view that works for all template i do (template creator helix 3 etc ..)
i didn't say that your product is buggy i like it and support it but need to find a good solution for it
Please Log in or Create an account to join the conversation.
I am sure. Templates often don't hide the position when the module is there but doesn't output any HTML.
The issue can be solved differently however. Your initial issue is that you don't want to display the filter module on the checkout.
The solution I usually recommend is to create a menu item of the type HikaShop checkout (it can be hidden if you don't want it to appear on your main menu), and then select that menu item in the "force a menu item on checkout" setting of the HikaShop configuration.
Then, just make sure that the modules you don't want to appear on your checkout are not assigned to that menu item.
Please Log in or Create an account to join the conversation.
for product view ? did you have the same tips ?
Please Log in or Create an account to join the conversation.
You could also use menu items and use the canonical URL of the products to direct to the correct menu item, but it will be a pain in the ass to setup and you'll loose the breadcrumb from the category.
The modification int he template would be ideal, but your template provider might not want to help you with that.
In that case, I would recommend using extensions.joomla.org/extensions/extensi...nced-module-manager/ to hide the modules when empty. The extension has an option for that:
www.regularlabs.com/extensions/advancedm...atures-hide-if-empty
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Salut Nicolas,but your template provider might not want to help you with that.
c'est pas très sympa ce que tu dis là, tu sais très bien que Céline utilise mon extension Template Creator CK
Peut-être ne te rends-tu pas compte que l'on cherche tous une solution à cela, mais dire du mal des autres c'est mauvais et je suis vraiment navré de voir ta réponse en ce sens.
Un peu plus de collaboration dans le bon sens serait le bienvenu
Cédric - développeur de Template Creator CK
Please Log in or Create an account to join the conversation.
@ced1870:
Euh, non je n'avais aucune idée de la source de son template.
Je disais juste ça d'expérience car d'habitude les fournisseurs de template rechignent à faire des changements dans leurs templates.
C'est d'ailleurs pour cela que j'essayais de fournir des solutions dans ce thread sans avoir à changer quelque chose dans le template.
Mais je ne voulais pas du tout faire d'attaque contre toi.
Au contraire, avoir quelqu'un qui s'intéresse au problème du coté du fournisseur du template est une super nouvelle !
Désolé si mes messages ont paru invectifs, ce n'était pas le but.
Please Log in or Create an account to join the conversation.
ok, merci pour ta réponse
cela m'a bien surpris, et comme je suis cela depuis le début j'essaie aussi de voir avec Céline et Yannick
dans son 2e message elle dit bien
Désolé d'avoir écrit en français mais comme c'était un apparté au sujet initial ...i am surprise i only use ttemplate creator to create my theme ... by cédric keflein
Just for other users who don't speak french :
I'm the developper of Template Creator CK used for the template of Celine. I'm also checking with her what could be done and how to fix this issue
CEd
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
J'avais zappé cela dans son message en effet.
Mais du coup, que penses-tu de la solution que j'ai fourni au début de ce sujet ?
C'est à dire d'implémenter une vérification du contenu des modules de la position avant de faire le jinclude de la position comme expliqué dans le lien ci-dessous ?
joomla.stackexchange.com/a/18775
Please Log in or Create an account to join the conversation.
le $module->content ne renvoit rien, meme si c'est un module chargé dans la page
donc au final ça va pas. J'ai peut etre fait une erreur ...
par contre je crois que AdvModudules manager de RL fait le job, il faut revoir cela avec Celine et Yannick
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
voici la partie du code d'un module de flexicontent
il a integrer une option du meme type que vous afficher le module en fonction de la vue (pas du contenu)
github.com/FLEXIcontent/flexicontent-cck...xicategories.php#L30
Cela fonctionne partout sans distinction de template ...
peus être une piste ou pas ... je n'ai pas votre niveau d'expertise !
Please Log in or Create an account to join the conversation.