I have got this problem on my site where I have a new products module and the name length varies quite allot and if it goes on to two lines it makes the images all go out of line and ugly so what I wanted to know is there a way I can make it only display part of the name up to a certain amount of characters like this.
"new product for...
" instead of "new product for sale bla bla bla
This is the code that displays the name of the product at the moment
<a title="more info" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'more-info-sml.gif','',60,14) . '</a>
Thanks in advance