Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing Category Title Below Image

Removing Category Title Below Image

Locked

Views: 3,031

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
14 Jun 2006, 12:13 AM
#1
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Removing Category Title Below Image

Been searching, can't seem to figure this one out...

I am using images that will title the categories. I would like to remove the dynamic type below it on the product page.

but leave it in all other places...

can someone point me in the right direction..?

14 Jun 2006, 1:02 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing Category Title Below Image

Peek in the tpl_modules_category_icon_display.php where the Categories Image and Name are built, and you can use a template override for this ...

14 Jun 2006, 3:29 AM
#3
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Re: Removing Category Title Below Image

That was it... thanks again Ajeh.

20 Jun 2006, 9:26 AM
#4
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Removing Category Title Below Image

Ajeh:

Peek in the tpl_modules_category_icon_display.php where the Categories Image and Name are built, and you can use a template override for this ...

to use a template override for this where would i put the tpl_modules_category_icon_display.php ?
thanks

20 Jun 2006, 5:58 PM
#5
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Re: Removing Category Title Below Image

Drakky,

Mine is in:

includes > templates > CUSTOM_TEMPLATE > templates

works perfect over here.

Hope all is good.

20 Jun 2006, 9:47 PM
#6
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Removing Category Title Below Image

pensive612:

Drakky,

Mine is in:

includes > templates > CUSTOM_TEMPLATE > templates

works perfect over here.

Hope all is good.

lol I was afraid you were going to say that , cause that's where I put it , means I haven't edited it correctly I suppose , the part after the <br> comes out right?
edit still doesn't work cut it down to this, I'm lost
??

<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . zen_get_categories_image(zen_get_products_category_id((int)$_GET['products_id'])), $_SESSION['languages_id']), CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT) . '</a>'; ?></div>
21 Jun 2006, 2:58 AM
#7
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Removing Category Title Below Image

ahh wait it does work on the item's page but not on the home page, that must be a different file, anyone have an idea which file please?

21 Jun 2006, 3:44 AM
#8
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Removing Category Title Below Image

now i have no clue as to what is happening with this the category image only shows on 1 category page with no category description with it (it has a description defined) , yet the other categories show a title and description on their category pages with no category image? They were all put in identically.
how many years does it take to make this thing look right? I'm beginning to think the only way you can get a decent template with this thing is to pay a pro to make you one.

21 Jun 2006, 4:00 AM
#9
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Removing Category Title Below Image

scratch that last post I've worked out that if there is only 1 item then the image shows when there is more than 1 item the description shows.

still have the problem on the links underneath on the indw or home page though

22 Jun 2006, 11:14 PM
#10
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Removing Category Title Below Image

ok found the answer , for those people still looking here is the answer

remove the following

'<br />' . $categories->fields['categories_name'] .

from file

category_row.php

7 Oct 2008, 4:01 AM
#11
tizzymack avatar

tizzymack

New Zenner

Join Date:
Oct 2008
Posts:
2
Plugin Contributions:
0

Re: Removing Category Title Below Image

Where you have your link "Mens Clothing". On mines I would like to remove just that part leaving the image. How would I go about that. I tried what was posted but no dice.

Help!!!

T.

7 Oct 2008, 5:05 AM
#12
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Re: Removing Category Title Below Image

Hi Tizzymack,

That should work. Can you send us an example on your site?