
Originally Posted by
bobc
Not sure if this has been posted before but recenetly I had major with sites that use the Westminster New and Winchester Responsive when using SSL certificates I kept getting a broken padlock. After hours of searching I located it to two JavaScript files. Namely the files are:
tpl_modules_mobile_categories_tabs.php which call the jquery.slimmenu.min.js This still gets pulled from your original http site so you need to change this to https: as follows...
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
NOTE: The above ONLY applies if you are using cloudflare to speed up the loading of the site to your users.
Also the file tpl_index_default.php which calls jscript/jquery.carouFredSel-6.0.2.js needs to be changed to call the file from the HTTPS_Server rather than the HTTP_SERVER as follows...
<script type="text/javascript" src="<?php echo HTTPS_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE; ?>jscript/jquery.carouFredSel-6.0.2.js"></script>
And finally tpl_categories_index.php which calls jscript/jquery.carouFredSel-6.0.2.js needs to be pulled from HTTPS_SERVER and not from HTTP_SERVER as follows...
<script type="text/javascript" src="<?php echo HTTPS_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE; ?>jscript/jquery.carouFredSel-6.0.2.js"></script>
I hope this will help some folks.
Bob
Correction..
This:
Code:
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
Should be this:
Code:
<script src="<?php echo $template->get_template_dir('jquery.slimmenu.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.slimmenu.min.js' ?>" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
Note the removal of the "https:".
Bookmarks