Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question | footer.html #490

Jireck-npds opened this issue Apr 5, 2019 · 3 comments


None yet
2 participants
Copy link

commented Apr 5, 2019

pourquoi mettre :
<script type="text/javascript" src="lib/js/jquery.translate.js"></script> <script type="text/javascript" src="lib/js/npds-dicotransl.js"></script> <script type="text/javascript"> //<![CDATA[ $(document).ready(function(){ var translator = $('body').translate({lang: "fr", t: dict}); translator.lang("<?php echo language_iso(1,'',0); ?>"); $('.plusdecontenu').click(function(){ var $this = $(this); $this.toggleClass('plusdecontenu'); if($this.hasClass('plusdecontenu')){ $this.text(translator.get('Plus de contenu')); } else { $this.text(translator.get('Moins de contenu')); } }); if (matchMedia) { const mq = window.matchMedia("(max-width: 991px)"); mq.addListener(WidthChange); WidthChange(mq); } function WidthChange(mq) { if (mq.matches) { $("#col_LB, #col_RB").removeClass("show") } else { $("#col_LB, #col_RB").addClass("show") } } }); //]] </script>
Dans chauqe footer.html de chaque theme alors que cela depuis si il y a des colonnes .
cela depends donc du pages.php ou plus simplement du $pdst

Cela devrait etre enlever pour etre rajouter soit suivant le $pdst soit dans le fichier


This comment has been minimized.

Copy link

commented Apr 5, 2019

ce script est spécifique à certains thèmes pas à tous ..


This comment has been minimized.

Copy link
Contributor Author

commented Apr 5, 2019

Peut etre mais au pire il serait mieux dans le include du theme


This comment has been minimized.

Copy link

commented Jun 4, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 4, 2019

@stale stale bot closed this Jun 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.