Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP ME PLEASE ITS ALL GONE MAD


billybrag

Recommended Posts

it may be something to do with me having "bought" my osc installation and having lost of other contribs added, my column left looks like this

 

 

<?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 . 'current_auctions.php');
}
}
?>

 

 

i know that it is different but does anyone know what / where i need to change it?

"because it'll hurt more"- the greatest film of all time?

Link to comment
Share on other sites

Yep, you've got five of them alright - but if all you need is a link to your current auctions on E-bay I don't understand why you didn't just create a new info_box and add it to includes/column_left.php. You actually 'paid' for this?

 

Vger

Link to comment
Share on other sites

no, i didnt pay for the contribution, i paid for the complete installation etc and the hosting. I am trying to add the ebay thing myself, which works fine, only i just one the one box :)

"because it'll hurt more"- the greatest film of all time?

Link to comment
Share on other sites

if it helps anyone help me i have info box admin in my admin area and non of the Ebay ones are showing, any ideas where i can access the part which is calling the info boxes from somewhere?

"because it'll hurt more"- the greatest film of all time?

Link to comment
Share on other sites

Heres an idea ;)

 

Obviously the shop you have is not standard Oscommerce, and that's why you are not having much luck with your request. Why don't you revisit whereever you got it from and see if they can help?

Link to comment
Share on other sites

replace the code in your current auction box with

<?php
/*
 $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

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

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- auctions //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_CURRENT_AUCTIONS);

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CURRENT_AUCTIONS) . '">' . BOX_INFORMATION_CURRENT_AUCTIONS . '</a>');

 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- auctions_eof //-->

and add the define keys in your admin infobox controll !

also i think you have added the box in colum left as we spoke via icq, you will have to delete that line to. if you still have problems ill see you at 17:30 CET

 

Regards John

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...