Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Boxes with indvidual layouts -howto?


T.J

Recommended Posts

Hi all,

 

Using the latest relese of OSC and STS and so far so good but having problems changing the layouts / design of individual boxes. For example trying to do the following......

 

Excuse poor ASCII art lol!

 

<TOP BANNER / COMPANY CONTACT NUMBER>

Browse Store <SECTION DROP DOWN> | Browse Manufacturers: <MANF DROPDOWN> | Search Store: <SEARCH FORM> | View Cart | Checkout

<BLANK LINE>

<PAGE BULK / OTHER BOXES>

 

But cant work out how to remove all the formating etc from the search and manufacturers boxes so that it only displays either the drop down or form without the box title boarder etc.

 

Dare say its really simple but then when it comes to PHP so am i lol :-"

 

Many Thanks

Liam

Link to comment
Share on other sites

Ok I will use the box "tell a friend" for this example. In includes/boxes/ you find all your boxes you need to change. Every file will have something along these lines.

 

  $info_box_contents = array();
 $info_box_contents[] = array('text' =>  '<div class="main"><b>' . BOX_TELL_A_FRIEND_TEXT . '</b></div>');

 new infoBox($info_box_contents, false, false);

 

That is your "Heading" and it should be near the top for each box. Just strip these out and that will get rid of the top heading bar. Then just format them through sts ;)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...