moby74 Posted November 7, 2005 Share Posted November 7, 2005 My problem is that my links in my dhtml menus do not work from https:// pages. they worked before i added the ssl certificate. Wondering if anyone else has run into something with like this. I see that the problem is that the javascript code is not included in the source for that page. So it is unable to run the menu's properly. I just do not know where i go to modify the https:// pages. also by modify them do i defeat the purpose of the certificate by having javascript on there. didn't know if it could be exploited or not. the site is www.sunsethilljewelry.com to see what i'm talking about just click on the login and then try the menu item additional info or shop our catalog. thank you so much for any tips or insights. Link to comment Share on other sites More sharing options...
moby74 Posted November 8, 2005 Author Share Posted November 8, 2005 I guess what I need to know is how do i go in and edit the https:// pages and add the javascript. I can view the source on the https:// and I see that it doesn't contain the javascript. I don't see where I go to edit https:// pages. I don't see that in my hosting account. I don't see a folder of any kind that is for https://. Does oscommerce just take the http pages and add the ssl to it. If so why doesn't it take my modified pages. Or am i just looking in the wrong place. thanks for any help. I have searched through the forums on https:// and don't anything relating to this. Link to comment Share on other sites More sharing options...
AlanR Posted November 8, 2005 Share Posted November 8, 2005 I guess what I need to know is how do i go in and edit the https:// pages and add the javascript. I can view the source on the https:// and I see that it doesn't contain the javascript. I don't see where I go to edit https:// pages. I don't see that in my hosting account. I don't see a folder of any kind that is for https://. Does oscommerce just take the http pages and add the ssl to it. If so why doesn't it take my modified pages. Or am i just looking in the wrong place. thanks for any help. I have searched through the forums on https:// and don't anything relating to this. Read up on the tep_href_link function, it handles the switch from http to https and back and keeps the session id. http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/252 But look at the code, you're using relative links where they can not work. window.open("http://www.sunsethilljewelry.com/catalog/info_shopping_cart.php?osCsid=04978b12f3728595a4ef9b8a86ff09cf","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus(); } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <table border="0" width="770" cellspacing="0" cellpadding="0" align="center"> <tr class="header"> <td valign="middle"><a href="http://www.sunsethilljewelry.com/catalog/index.php?osCsid=04978b12f3728595a4ef9b8a86ff09cf"><img src="images/oscommerce.JPG" border="0" alt="osCommerce" title=" osCommerce " width="770" height="75"></a><div align="center"> <center> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="770" id="AutoNumber1"> <tr> <td height="25" width="154" bgcolor="#AA9664" bordercolor="#FFFFFF"> <p align="center"><font face="Monotype Corsiva" size="4"> <a href="http://www.sunsethilljewelry.com/" style="text-decoration: none"> <font color="#FFFFFF">Home</font></a></font></td> <td width="174" height="25" bgcolor="#AA9664" bordercolor="#FFFFFF"> <p align="center"><font face="Monotype Corsiva" size="4" color="#FFFFFF"> <a href="http://www.sunsethilljewelry.com/abouttheartist.htm" style="text-decoration: none"> <font color="#FFFFFF">About the Artist</font></a></font></td> <td width="174" height="25" bgcolor="#AA9664" bordercolor="#FFFFFF"> <p align="center"><font face="Monotype Corsiva" size="4"><a href="default2.htm" onClick="return dropdownmenu(this, event, menu1, '200px')" onMouseout="delayhidemenu()" style="text-decoration: none"> <font color="#FFFFFF" size="4">Shop Our Catalog</font></a></font> </td> <td width="116" height="25" bgcolor="#AA9664" bordercolor="#FFFFFF"> <p align="center"><font face="Monotype Corsiva" size="4"> <a href="http://www.sunsethilljewelry.com/catalog/contact_us.php?osCsid=5f893537ce63acb08b64e83f794ac21a" style="text-decoration: none"><font color="#FFFFFF"> Contact</font></a></font></td> <td width="154" height="25" bgcolor="#AA9664" bordercolor="#FFFFFF"> <p align="center"><font face="Monotype Corsiva" size="4"><a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()" style="text-decoration: none"> <font color="#FFFFFF">Additional Info</font></a></font> </td> Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
moby74 Posted November 12, 2005 Author Share Posted November 12, 2005 Thanks for the reply Alan. I greatly appreciate it. I read through the trick link that you gave me. From what you say and from looking at the tip link it looks like I cannot be using the javascript on these pages. I saw no reference on how to incorporate it. href="default2.htm that you highlighted in red called the javascript and menu items for these. However there is no javascript on these secure pages. so it brings up a pages not found. Is there someway i can get in and edit these pages so they do not use the javascript items. basically change the href="default2.htm to something else. Like a link to the home page so that they at least don't get a page not found. I guess that is where I am really struggling. It seems to pull these secure pages from my nonsecure pages but doesn't bring the javascript. Yet, I have no idea on how to modify the secure pages so that they are different. I would like to keep them as is on the non secure pages becasue they work fine. but i would love to go in and modify the secure pages. I don't see them anywhere in my account. thanks for the response you gave. I really appreciated it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.