Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Products layout help


andymin

Recommended Posts

I am just finishing the layout of a store:

http://www.rocketdesign.co.uk/shop/catalog/default.php

 

but would like the center 'new products' section (new_products.php) to look the same a the other boxes

 

i have almost done this without creating another box class, but rather i have just pasted some html into new_products.php, the only thing i am struggling to do is include the 'month'

 

snipped...

 <tr> 

   <td height="14" valign="middle" class="infoBoxHeading"><?php echo TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></td>

 </tr>

</table><br />

<?php

 $info_box_contents = array();

 $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')));

 new contentBoxHeading($info_box_contents);



 if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {

 

what is the correct syntax for this line, i have tried a few different things but cannot get it to print the month:

<td height="14" valign="middle" class="infoBoxHeading"><?php echo TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></td>

 

any help would be appreciated

 

regards

 

Andrew

Link to comment
Share on other sites

please!, to make it simpler, what would be the correct syntax in the line below.

 

<td height="14" valign="middle" class="infoBoxHeading"><?php echo TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></td>

 

regards

 

andrew

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...