osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Problem installing Cool Menu mod

This is a discussion on Problem installing Cool Menu mod within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I have made all the modifications except for adding the menu_automation.js in the header. The problem is that I cannot ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-08-2004, 05:38 AM
Lurker
 
Join Date: May 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ozone
Default Problem installing Cool Menu mod

I have made all the modifications except for adding the menu_automation.js in the header. The problem is that I cannot find where to add this. Here are the instructions but with MS2-MAX the header is not defined as described in the modification instructions. Can someone point me in the right direction as to how to add the menu_automation.js to the header section in MS2-MAX?


Modification INSTRUCTIONS for oscommerce default installation:
Open every PHP file in you Catalog-directory (the root directory of your shop)

Here is a copy of the top section of the default.php file.

I've highlighted the sections between the <HEAD> and </HEAD> in ORANGE so you can see where they are.

I've also highlighted where I have this line of code in GREEN

<?php
/*
$Id: default.php,v 1.79 2002/11/23 02:08:10 thomasamoulton Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2002 osCommerce

Released under the GNU General Public License
*/

require('includes/application_top.php');

// the following cPath references come from application_top.php
$category_depth = 'top';
if ($cPath) {
$categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . $current_category_id . "'");
$cateqories_products = tep_db_fetch_array($categories_products_query);
if ($cateqories_products['total'] > 0) {
$category_depth = 'products'; // display products
} else {
$category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . $current_category_id . "'");
$category_parent = tep_db_fetch_array($category_parent_query);
if ($category_parent['total'] > 0) {
$category_depth = 'nested'; // navigate through the categories
} else {
$category_depth = 'products'; // category has no products, but display the 'no products' message
}
}
}

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT>
</head><body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">


Thanks...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-08-2004, 06:50 AM
Lurker
 
Join Date: May 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ozone
Default

Maybe a better question would be : Where is the <head> tag setup or defined in OSCMAX? -OR- What file has the java script defined for each page?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-08-2004, 10:15 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Would you be looking for main_page.tpl.php in the template directory?
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Adding cool menu and keeping the catorory menu??? Kyle_Bassett osCMax v2 Customization/Mods 0 10-18-2005 09:17 AM
Cool Menu disappears behind Attrib Drop down box cacooke osCMax v2 Customization/Mods 2 08-08-2005 06:53 PM
DHTML cool menu problem leeb osCommerce 2.2 Modification Help 0 01-13-2005 06:22 PM
Dhtml Menu Problem kolamon osCMax v1.7 General Mods Discussion 3 01-10-2005 03:24 PM
Cool menu install question. Craig osCommerce 2.2 Modification Help 5 09-18-2004 07:01 PM


All times are GMT -8. The time now is 12:01 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax