osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Cool menu install question.

This is a discussion on Cool menu install question. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hey guys, I was thinking about installing the coolmenu contribution for oscommerce. The install instructions say you have to modyify ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-17-2004, 12:00 PM
New Member
 
Join Date: Sep 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Craig
Default Cool menu install question.

Hey guys,

I was thinking about installing the coolmenu contribution for oscommerce. The install instructions say you have to modyify the left_column.php among other files but it says you have to find the line include(DIR_WS_BOXES . 'categories.php'); and replace it to include(DIR_WS_BOXES . 'coolmenu.php'); Now it could just be me but I can't find that line in the left_column.php file. Can someone point me in the right direction so I can go about installing this mod?

Thanks,
~Craig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 09-17-2004, 06:39 PM
osCommerce_Templates's Avatar
Lurker
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
osCommerce_Templates
Default

You can just put the code you need on the left_column.php file and then when you see the duplicate menu, you can better locate the file that needs to be commented out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-17-2004, 06:40 PM
osCommerce_Templates's Avatar
Lurker
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
osCommerce_Templates
Default

If you have time, post your code for your left_column.php file contents here, and I can fix it for you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-17-2004, 08:22 PM
New Member
 
Join Date: Sep 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Craig
Default

Ok I went ahead and tried installing the coolmenu to my site. I couldn't find the line include(DIR_WS_BOXES . 'categories.php'); in my left_column.php file. But I added the line
include(DIR_WS_BOXES . 'coolmenu.php'); to it anyways. Here is my left_column.php file because I don't know if it is correct.

<?php
/*
$Id: column_left.php,v 1.2 2003/09/24 15:34:33 wilt Exp $

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

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
*/

$column_query = tep_db_query('select display_in_column as cfgcol, infobox_file_name as cfgtitle, infobox_display as cfgvalue, infobox_define as cfgkey, box_heading, box_template, box_heading_font_color from ' . TABLE_INFOBOX_CONFIGURATION . ' where template_id = ' . TEMPLATE_ID . ' and infobox_display = "yes" and display_in_column = "left" order by location');
while ($column = tep_db_fetch_array($column_query)) {

if ( file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/boxes/' . $column['cfgtitle'])) {
define($column['cfgkey'],$column['box_heading']);
$infobox_define = $column['box_heading'];
$infobox_template = $column['box_template'];
$font_color = $column['box_heading_font_color'];
$infobox_class = $column['box_template'];
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/boxes/' . $column['cfgtitle']);
include(DIR_WS_BOXES . 'coolmenu.php');
}
}
?>

The installation instructions all said to add the following lines to all your files in the root I belive of your catalog.

<!-- coolMenu //-->
<?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?>
<!-- coolMenu_eof //-->

Right after <body>. The problem was, I couldn't find the <body> command in the following files so I didn't edit them.

info_shopping.php
checkout_process.php
fantversion.php
download.php
popup_image.php
redirect.php

I also didn't get to add the line <SCRIPT LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT> to those files.

I added the code needed in the stylesheet also.

When I started checked out my site after I finished everything, it seemed like it was kind of working except that my whole left colomn had disappeard and it gave me some kind of error which said:

1146 - Table 'wholesa_osc1.TABLE_INFOBOX_CONFIGURATION' doesn't exist

select display_in_column as cfgcol, infobox_file_name as cfgtitle, infobox_display as cfgvalue, infobox_define as cfgkey, box_heading, box_template, box_heading_font_color from TABLE_INFOBOX_CONFIGURATION where template_id = TEMPLATE_ID and infobox_display = "yes" and display_in_column = "left" order by location

[TEP STOP]

I'd like to get my left column back if you guys can help me figure out what I need to add or take out.

Thanks ALot,
~Craig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-18-2004, 04:42 PM
New Member
 
Join Date: Sep 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Craig
Default

Ok,

I got this bad boy mostly working, the only problem I have now is that my category box is on the right side and my coolmenu is in the upper left corner. Im going to search around to find out how to position the menu. But if anyone knows how to fix this, feel free to post it for me.

Thanks Alot,
~Craig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-18-2004, 08:01 PM
New Member
 
Join Date: Sep 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Craig
Default

ok I fixed the position problem but my friend says that when you look at the webpage in different resolutions the menu is in different places. You guys know how to get it to adjust depending on the resolution?

~Craig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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 10:17 AM
Cool Menu disappears behind Attrib Drop down box cacooke osCMax v2 Customization/Mods 2 08-08-2005 07:53 PM
Menu question bibleman osCMax v1.7 Discussion 0 06-24-2005 03:30 PM
DHTML cool menu problem leeb osCommerce 2.2 Modification Help 0 01-13-2005 06:22 PM
Problem installing Cool Menu mod ozone osCMax v1.7 General Mods Discussion 2 07-08-2004 11:15 AM


All times are GMT -8. The time now is 04:14 PM.


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