Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Adding new boxes?


Recommended Posts

are you asking for something like this:



 $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/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites


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

  • Create New...