[CRE Loaded] SEO causing issue with javascript
[CRE Loaded] SEO causing issue with javascript
since I have installed the SEO on my CRE loaded store, i just noticed that my "dhtml" javascript menu is not working anymore in internet explorer only... it show in every other browsers but not IE ?
If I put a static link, it's working, but then im getting problems with SSL and my green bar so I can't use any static urls to fix this issue...
it seems when SEO is active, the javascript link is not the same... being relative to my /template folder... Any idea to fix this issue ?
When I am on a products page, where the SEO is working... the menu not working again also...
Re: [CRE Loaded] SEO causing issue with javascript
Code: Select all
echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '">'."\n";
following code:
Code: Select all
echo ' <!--[if IE]></base><![endif]-->'."\n";
Re: [CRE Loaded] SEO causing issue with javascript

Re: [CRE Loaded] SEO causing issue with javascript
Re: [CRE Loaded] SEO causing issue with javascript
Following code:
Code: Select all
<script type="text/javascript" src="includes/js/prototype.js"></script>
<script type="text/javascript" src="includes/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="includes/js/lightbox.js"></script>
<script type="text/javascript" src="templates/Original1_B2B/dhtml-menu/stmenu.js"></script>
<script type="text/javascript" src="includes/js/rollover.js"></script>
has been changed to:
Code: Select all
<script type="text/javascript" src="<?php echo DIR_WS_CATALOG; ?>includes/js/prototype.js"></script>
<script type="text/javascript" src="<?php echo DIR_WS_CATALOG; ?>includes/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="<?php echo DIR_WS_CATALOG; ?>includes/js/lightbox.js"></script>
<script type="text/javascript" src="<?php echo DIR_WS_CATALOG; ?>templates/Original1_B2B/dhtml-menu/stmenu.js"></script>
<script type="text/javascript" src="<?php echo DIR_WS_CATALOG; ?>includes/js/rollover.js"></script>
Re: [CRE Loaded] SEO causing issue with javascript
Thanks a lot for your support

Re: [CRE Loaded] SEO causing issue with javascript

if you click on member login to go on https, you'll see...
Re: [CRE Loaded] SEO causing issue with javascript
Code: Select all
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>includes/js/prototype.js"></script>
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>includes/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>includes/js/lightbox.js"></script>
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>templates/Original1_B2B/dhtml-menu/stmenu.js"></script>
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>includes/js/rollover.js"></script>
Re: [CRE Loaded] SEO causing issue with javascript

Code: Select all
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>templates/Original1_B2B/dhtml-menu/stmenu.js"></script>
as the only way i found to solve the non secure item problem is by removing everything before the "templates/Original1_B2B/dhtml-menu/stmenu.js" so the link becoming relative rather then static... but that way... magic prevent the menu working... hummm
I had so much pain with lots of menu, as usual css menu using jquery are creating conflicts with javascripts...
