Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php include?


LoganberryGroup

Recommended Posts

Might be associated with the relative linking in your menu php page.

 

<link href="css/dcmegamenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type='text/javascript' src='js/jquery.hoverIntent.minified.js'></script>
<script type='text/javascript' src='js/jquery.dcmegamenu.1.3.2.js'></script>
<script type="text/javascript"> 
$(document).ready(function($){
$('#mega-menu-5').dcMegaMenu({
	rowItems: '4',
	speed: 'slow',
	effect: 'slide'
});
});
</script>
<link href="css/skins/orange.css" rel="stylesheet" type="text/css" />
</head>

- Stop Oscommerce hacks dead in their tracks with osC_Sec (see discussion here)
- Another discussion about infected files ::here::
- A discussion on file permissions ::here::
- Site hacked? Should you upgrade or not, some thoughts ::here::
- Fix the admin login bypass exploit here
- Pareto Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
- BTC:1LHiMXedmtyq4wcYLedk9i9gkk8A8Hk7qX

Link to comment
Share on other sites

Might be associated with the relative linking in your menu php page.

 

<link href="css/dcmegamenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type='text/javascript' src='js/jquery.hoverIntent.minified.js'></script>
<script type='text/javascript' src='js/jquery.dcmegamenu.1.3.2.js'></script>
<script type="text/javascript"> 
$(document).ready(function($){
$('#mega-menu-5').dcMegaMenu({
	rowItems: '4',
	speed: 'slow',
	effect: 'slide'
});
});
</script>
<link href="css/skins/orange.css" rel="stylesheet" type="text/css" />
</head>

 

Hi.

 

Thank you for your reply.

 

What do you mean by relative linking?

 

Thanks

 

Scott.

Link to comment
Share on other sites

Hi.

 

Thank you for your reply.

 

What do you mean by relative linking?

 

Thanks

 

Scott.

 

In other words: Are the paths to the files you "link" to in your includes/template_top.php file correct?

<link href="css/dcmegamenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type='text/javascript' src='js/jquery.hoverIntent.minified.js'></script>
<script type='text/javascript' src='js/jquery.dcmegamenu.1.3.2.js'></script>

Also, you don't need to link again to the jquery script, since it is already present in osCommerce, just make sure the calls to the megamenu scripts are after the call to the jquery script

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...