Forums / Setting Up Categories, Products, Attributes / Category Image on Main - Remove Category Title

Category Image on Main - Remove Category Title

Locked

Views: 4,263

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Oct 2007, 5:04 PM
#1
mountash avatar

mountash

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Category Image on Main - Remove Category Title

I have the main page displaying the category image. However, under each image is the category title. I want to remove the title from the main page, and only display the image.

Help appriciated.

Janet

25 Oct 2007, 3:03 AM
#2
e81ny avatar

e81ny

New Zenner

Join Date:
Feb 2007
Location:
New York
Posts:
88
Plugin Contributions:
0

Re: Category Image on Main - Remove Category Title

Hmm.. That is exactly what I wanted to find out here today..

Does anybody have any idea how to do that??

Thanks in advance.

25 Oct 2007, 3:48 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Category Image on Main - Remove Category Title

Peek in the module for category_row.php and see what happens if you take out the categories_name in an override file ...

Of course, we all know to use override files, right?! :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Aug 2008, 10:36 AM
#4
thellie avatar

thellie

New Zenner

Join Date:
Aug 2008
Posts:
4
Plugin Contributions:
0

Re: Category Image on Main - Remove Category Title

thanks - it took a bit of finding this answer, but it's exactly what i wanted :)

29 Jan 2009, 9:29 PM
#5
s_mart avatar

s_mart

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Re: Category Image on Main - Remove Category Title

Hi, I am trying to accomplish this and don't seem to be having any luck when trying to modify category_row.php. I'm not an expert in PHP, so I may just be making a silly mistake. Can anyone who had done this successfully post the code they changed in this file? Any help is much appreciated!
Thanks in advance.

15 May 2010, 11:08 PM
#6
halollet avatar

halollet

New Zenner

Join Date:
Mar 2010
Posts:
66
Plugin Contributions:
0

Re: Category Image on Main - Remove Category Title

I needed this done too and I found it!!

In your
/includes/templates/YOURTEMPLATE/common/tpl_box_default_left.php

Wrap this around the <h3> code

<?php if($title!='') { ?>

<h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>

<?php } ?>

What this does, is if there's no title to show, don't add the <h3> code in at all!
Works for me at least! :smile: