abubobbob Posted December 26, 2007 Posted December 26, 2007 Hi... A while back i removed the text below my images for categories as my pictures are fancy displays of the names. BUT now im adding a new section where this is not the case, I was wondering is there a way to turn the text below the images back on for specific categories. Or atleast could someone point me in the right direction, as i got no clue as to where or how I did this the first time. Thanks for any help. Regards Bob
abubobbob Posted December 26, 2007 Author Posted December 26, 2007 Found the piece of code which applies to the text below the images. $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT). '</a></td>' . "\n"; Been staring at it for the last 5mins and cant think where to start in making it apply to just the one category. the tep_href is the function that calls to the MySQL? Its been a while i need to brush up on all of this.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.