osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Infobox Admin

This is a discussion on Infobox Admin within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; The left and right column buttons didn't work for me in Internet Explorer. To fix this open admin/infobox_configuration.php and find: ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-01-2007, 03:51 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,084
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Infobox Admin

The left and right column buttons didn't work for me in Internet Explorer.

To fix this open admin/infobox_configuration.php and find:

case 'setflagcolumn': //set the status of a box left or right.
if ( ($HTTP_GET_VARS['flag'] == 'left') || ($HTTP_GET_VARS['flag'] == 'right') ) {
if ($HTTP_GET_VARS['cID']) {
tep_db_query("update " . TABLE_THEME_CONFIGURATION . " set configuration_column = '" . $HTTP_GET_VARS['flag'] . "' where configuration_id = '" . (int)$cID . "'");
}
}

Replace it with:
case 'setflagcolumn': //set the status of a box left or right.
if ( ($HTTP_GET_VARS['flag'] == 'left') || ($HTTP_GET_VARS['flag'] == 'right') ) {
if ($HTTP_GET_VARS['cID']) {
tep_db_query("update " . TABLE_THEME_CONFIGURATION . " set configuration_column = '" . $HTTP_GET_VARS['flag'] . "' where configuration_id = '" . $HTTP_GET_VARS['cID'] . "'");
}
}

That should do the trick!

The only difference is the configuration_id. Changed it from (int)$cID to $HTTP_GET_VARS['cID']

Hope this helps.

NOTE: Zip contains .txt file with above text.

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
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
Infobox Admin michael_s New osCommerce Contributions 0 01-29-2007 05:01 PM
Turning On/Off Infobox Admin??? ironjaxxx osCMax v2 Customization/Mods 6 10-03-2006 05:43 PM
infobox admin chfields osCMax v2 Features Discussion 1 10-25-2005 09:20 AM
Where did InfoBox Admin Go matthew2582 osCMax v2 Features Discussion 0 07-21-2005 02:16 PM
Where did Infobox Admin v2.2.1 come from RyanSmith osCMax v2 Features Discussion 2 06-24-2005 07:08 AM


All times are GMT -8. The time now is 12:40 PM.


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