Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding new boxes?


FM

Recommended Posts

Posted

The new forums are excellent! Thank you for that!

Could someone please help me adding new box to the left column. Which files should i create and edit?

 

Thank you!

Posted

I'd like to know this too.

 

I have attempted it as I thought it would be simple, but I guess I am just not simple enough!! :wink:

 

Anyone know??

 

CC.

Posted

check out the modification guide over at www.oscdox.com.

there's a section that tells you how to do this.

It's funny how the harder I work the luckier I get.

Posted

Once again the answer was at your excellent guide! Thank you!

Without it I would not have even tried to install the OSC in first place.

Posted

are you asking for something like this:

 

<?php

 $info_box_contents = array();

 $info_box_contents[] = array('align' => 'left', 'text'  => $mainpage_title );

 new infoBoxHeading($info_box_contents, true, true);

 

this is what i use to create a box in my main page on www.nstial.com/catalog/

Posted
Once again the answer was at your excellent guide! Thank you!

Without it I would not have even tried to install the OSC in first place.

 

:oops: Actually, even though I promote the hell out of it, I'm not reponsible for the OSCDox guide. It was written by Michael Sasek and I agree it has made the task of installing and working with OSC a lot less daunting.

It's funny how the harder I work the luckier I get.

Posted

Do you mean adding a box on the left like the categories box? In my site i removed the ones on the right side and added some to the left. You edit the files (i'm not at home so i can't check) but i believe they're called column_left.php and column_right.php (they're in the same folder as application_top.php) Just add the lines there.

 

I'm using 2.1 so i'm not sure how different it is if you're using 2.2.

 

hope this is what you mean, if so, i can get the exact code when i get home.

Posted

I was asking how to add comletely new box and modification guide over at www.oscdox.com told everythin I needed.

Posted

I added new box following the oscdox instructons but there seems to be small problem with older browsers. In IE6 it shows the categories fine (Introduction) but in Netscape and older IEs it shows it like this: BOX_SERVICES_INTRODUCTION

 

 

 

 

Netscape gives error:

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php') in /data/www/customers/polarpac/public_html/catalog/includes/application_top.php on line 258

 

And does not open the page at all.

Hope someone could help me!

Archived

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

×
×
  • Create New...