As all categories will have images I would like to have the textual id of the category turned off and be represented with a cat image only.
How do I go about doing this?
Thanks in advance
As all categories will have images I would like to have the textual id of the category turned off and be represented with a cat image only.
How do I go about doing this?
Thanks in advance
IntelCos
For those that would like to also have this fix.
Modify the tpl_modules_category_icon_display
find this code> $category_icon_display_name
on the main line and remove it. Thats it thats all
The reason I required this is all my categories will have a image, but I did not want text to show as the image is descriptive for our needs. Thus the end result is you have a linkable cat represented by an image only with title and alt tags.
your code should look like this(use notepad, cut and copy the code below). Save in pure text format and copy into your overrides directory.
<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $category_icon_display_image . '</a>'; ?></div>
If used, buy the devs coffee cause I'm sure it's a needed fix...
Last edited by IntelCos; 4 Feb 2007 at 11:44 PM.
IntelCos
Bookmarks