Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do I insert a line ?


jjanguda

Recommended Posts

I'd like to insert a line like this

 

tep_draw_separator('pixel_silver.gif', '100%', '1');

 

in this code.

 new contentBox($info_box_contents);

 

Simply, can I replace "new contentBox" with "pixel_silver"?

 

I think it's possible, but I don't know how...

 

Can anyone help me with this ?

 

 

Appreciate for any help!!

 

Thanks~

Link to comment
Share on other sites

This might help you understand my point better.

 

       $col ++;
       if ($col > PRODUCT_LIST_COL_NUM-1) {
         $col = 0;
         $row ++;
       }
     }

     new contentBox($info_box_contents);

   } else {

     $info_box_contents = array();

     $info_box_contents[0] = array('params' => 'class="productListing-odd"');
     $info_box_contents[0][] = array('params' => 'class="productListing-data"',
                                       'text' => TEXT_NO_PRODUCTS);

     new contentBox($info_box_contents);

   }
 }

 

This is a part of my my catalog/includes/modules/product_listing.php.

 

Hope this will give you a better idea..

Link to comment
Share on other sites

Acheron,

 

What I'm trying to do is..

 

I want to insert pixel_siliver.gif in my "What's new for July" box.

 

Right now, a default setting for this is 3(columns) x 3(rows).

 

 

A     B     C
--------------
D     E     F
--------------
G     H     I

 

 

Like this...

 

I want the line between each row.

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...