Re: Mobile Drop Down on minimized Desktop
So I figured out what was happening.
If anyone can show me a way to correct this,
It would be a great help for learning and implementing the scripts in question.
The slimMenu was breaking when I added age verification scripts to:
includes/templates/westminster_new/common/html_header
These scripts specifically:
<link href="includes/templates/westminster_new/css/age-verification.css" rel="stylesheet">
<script src="includes/templates/westminster_new/jscript/jquery-1.11.1.min.js"></script>
<script src="includes/templates/westminster_new/jscript/age-verification.js"></script>
<script src="includes/templates/westminster_new/jscript/jquery.cookie.min.js"></script>
Thanks
Re: Mobile Drop Down on minimized Desktop
Quote:
Originally Posted by
Daba_do
So I figured out what was happening.
If anyone can show me a way to correct this,
It would be a great help for learning and implementing the scripts in question.
The slimMenu was breaking when I added age verification scripts to:
includes/templates/westminster_new/common/html_header
These scripts specifically:
<link href="includes/templates/westminster_new/css/age-verification.css" rel="stylesheet">
<script src="includes/templates/westminster_new/jscript/jquery-1.11.1.min.js"></script>
<script src="includes/templates/westminster_new/jscript/age-verification.js"></script>
<script src="includes/templates/westminster_new/jscript/jquery.cookie.min.js"></script>
Thanks
Yeah.. well it seemed clear that the issue was related to OTHER changes you might have made.. Helping you with sorting it out may not necessarily be appropriate to hash out here in the template support thread.. (because your issues are not specifically related to to THIS template persay) That said, it's hard to help you in a vaccum.. Need to SEE a link to the site..
May I suggest you start a NEW thread with a link to the site in question.. Also you might want to get in the habit of posting code using the forum code tags so the forum software doesn't accidentally parse your code.
Code:
<link href="includes/templates/westminster_new/css/age-verification.css" rel="stylesheet">
<script src="includes/templates/westminster_new/jscript/jquery-1.11.1.min.js"></script>
<script src="includes/templates/westminster_new/jscript/age-verification.js"></script>
<script src="includes/templates/westminster_new/jscript/jquery.cookie.min.js"></script>
Re: Mobile Drop Down on minimized Desktop
Quote:
Originally Posted by
Daba_do
So I figured out what was happening.
If anyone can show me a way to correct this,
It would be a great help for learning and implementing the scripts in question.
The slimMenu was breaking when I added age verification scripts to:
includes/templates/westminster_new/common/html_header
These scripts specifically:
<link href="includes/templates/westminster_new/css/age-verification.css" rel="stylesheet">
<script src="includes/templates/westminster_new/jscript/jquery-1.11.1.min.js"></script>
<script src="includes/templates/westminster_new/jscript/age-verification.js"></script>
<script src="includes/templates/westminster_new/jscript/jquery.cookie.min.js"></script>
Thanks
I am happy that you figured it out ;)
If you look in the zen cart wiki you will find a detailed article about how to implement javascript in zen cart.
Thanks,
Anne
Re: Mobile Drop Down on minimized Desktop
@DivaVocals
Apologetically, what was clear to you wasn't clear to me.
Also, I suppose I could start a new thread but I thought
those most familiar with it would be best suited to ask.
I'm assuming your proficiency at JS factors into
a comment rather than a solution.
When I figure this out, I will post the solution so the
Westminster_new community knows best how to handle
JS age verification files in the future.
I'm new here and just trying to make this all work.
Again, my sincerest apologies for not bothering your
sensibilities.
Re: Mobile Drop Down on minimized Desktop
Quote:
Originally Posted by
Daba_do
@DivaVocals
Apologetically, what was clear to you wasn't clear to me.
Also, I suppose I could start a new thread but I thought
those most familiar with it would be best suited to ask.
Good grief.. I do not for the LIFE of me get why people get so bent out of shape about suggesting they place their posts in a place where they will most likely get help from people who CAN help them which in this case MAY NOT be the support thread for this template..
Quote:
Originally Posted by
Daba_do
I'm assuming your proficiency at JS factors into
a comment rather than a solution.
You may assume ANYTHING you like.. How about this instead.. Perhaps my unwillingness to carry on what is probably an OFF TOPIC line of conversation in the SUPPORT THREAD for this template is the reason for the comment.. OR Perhaps my lack of free time to look at and weigh in on a detailed answer at the time I posted my comment is the reason.. OR...
feel free to continue to assume what you are already assuming..:laugh:
Quote:
Originally Posted by
Daba_do
I'm new here and just trying to make this all work.
Again, my sincerest apologies for not bothering your
sensibilities.
Not for nothing I wasn't "bothered" at all.. I was simply trying to make a suggestion to help you.. but clearly you decided I was doing something else.. so.. carry on..
Quote:
Originally Posted by
Daba_do
When I figure this out, I will post the solution so the
Westminster_new community knows best how to handle
JS age verification files in the future.
Hmmmmm okay.. well you could post it in a new thread as suggested so MORE folks that the Westminster New support thread participants will see your whiz bang solution. Who knows.. Maybe.. JUST MAYBE, the WHOLE Zen Cart community might benefit from the information.. but apparently I'm just bothered, bored, annoyed, can't contribute/help, fill in the blank.. So again.. carry on..
Westminster New Age Verification
Here is a patch to get a simple age-verification working.
Is there a better way, a more correct way, easier way?
If so, please share. ;)
I added the age verification and cookie scripts just before the closing body tag of:
includes/templates/westminster_new/common/tpl_main_page
Inside the age-verification.js file I added location.reload(); after the $(window).off('resize');
(I found out the slimMenu worked after a refresh on accident)
Hope this helps others or inspires others to find/post a better way.
Age Verification JS / Cookie Script
https://github.com/Herudea/age-verification
Re: Westminster New SSL BUG
I have reinstalled my entire site twice now and have discovered that this template has a bug. It causes ssl errors. These are in the shopping cart and every page of our site. When viewing page source there are a lot of http calls hard coded in. I have no idea how to find them all to correct the problem. I have switched the template off and gone back to the ugly default, but really like this template and hope you can correct it. The default template has absolutely no ssl, mixed content alerts, so I know it is in Westminster. :please:
Re: Westminster New SSL BUG
Quote:
Originally Posted by
Zappa Aviaries
I have reinstalled my entire site twice now and have discovered that this template has a bug. It causes ssl errors. These are in the shopping cart and every page of our site. When viewing page source there are a lot of http calls hard coded in. I have no idea how to find them all to correct the problem. I have switched the template off and gone back to the ugly default, but really like this template and hope you can correct it. The default template has absolutely no ssl, mixed content alerts, so I know it is in Westminster. :please:
I can't help you if I can not view your site.
I just did a search of the template files and did not find any http:// hard coded. My guess is that you have added a hard coded image that is not in https://
Thanks,
Anne