RE: new products info box - can I put the title on top and botto

TB <[email protected]>
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <81e31736bfe27a023188487367013f45@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=191873#191873
----------------------------------------------------------------

Yes.

You need to edit your catalog/includes/modules/new_products.php file.

Line 33 (new_products v1.34) reads as follows:
[quote="Original File"]'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])));[/quote]

You need to edit that line as follows.
[quote="Modified File"]'text' => '[b][color=red][Any text here will be above the image.  Remember to finish with a <br>][/color][/b]<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])));[/quote]

If there's any specific you would like put above the image and are having difficulties, just post again to this thread and we'll assist where possible.

HTH,
Tony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.