If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Getting rid of image at top of subcategory list

Getting rid of image at top of subcategory list

Locked

Started by coxy on 7 Oct 2006, 3:25 PM · Views: 1,897

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
7 Oct 2006, 3:25 PM
#1
coxy avatar

coxy

New Zenner

Join Date:
Oct 2006
Posts:
13
Plugin Contributions:
0

Getting rid of image at top of subcategory list

I am having a nightmare with the images......

If I make a new category, eg. clothes, it has a number of sub categories that if you click on will take you to that page (eg. t-shirts, shoes, trousers, etc). All that is fine and I have a small picture above each link.....

My problem comes when you click on the subcategory..... If for example you then click on 'shoes', a new page loads with a big picture of the shoes - and I really dont want it there!!! If I remove the picture completely, it also removes from the main page (clothes) - but I do want it there!!!

It is so annoying!!

I have tried setting all the width and heights to zero but the pictures are still there!!! I dont know what to do anymore!!!

7 Oct 2006, 3:38 PM
#2
coxy avatar

coxy

New Zenner

Join Date:
Oct 2006
Posts:
13
Plugin Contributions:
0

Re: Getting rid of image at top of subcategory list

If anyone is confused wnat I am talking about, here is the link...
http://www.hdproofing.net/client-demos/store/index.php?main_page=index&cPath=11_14

I dont want that big picture of the bed at the top!! If I delete the picture, it also goes from the main page 'residential furniture' where I do want it!!!

aaaargh!!!!!

7 Oct 2006, 4:20 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Getting rid of image at top of subcategory list

As of v1.3.5, you can turn that on/off in the admin:
Admin->Configuration->Product Listing->Include Product Listing Top Categories Image?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Oct 2006, 4:37 PM
#4
coxy avatar

coxy

New Zenner

Join Date:
Oct 2006
Posts:
13
Plugin Contributions:
0

Re: Getting rid of image at top of subcategory list

Thank you so much!! Simple when you know how!!! Dont know how I missed it!

14 Oct 2006, 12:00 PM
#5
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: Getting rid of image at top of subcategory list

Hi,> DrByte:

As of v1.3.5, you can turn that on/off in the admin:
Admin->Configuration->Product Listing->Include Product Listing Top Categories Image?Thanks for that.

Alan

3 Nov 2006, 12:11 AM
#6
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Getting rid of image at top of subcategory list

Dr Byte... I am running 1.35 and the same issue is plagueing me. I have in fact set to 0 both the top and subcategory image for Product Listing however; when I go to the "Product Details" page (which it think is the issue) it's pops right back upa gain... like a boomerarang...LOL..LOL Just can't get that image to go away!!!

I checked the layout for the Product Listing - Product General Layout.. and I don' t see anywhere to turn that off. Can you make suggestion or do I just go in and modify the template?

Thanks in advance

3 Nov 2006, 12:17 AM
#7
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Getting rid of image at top of subcategory list

I see this code... that means "somewhere" there's a switch... for the info page - But I can't find it. Anyone??

<!--bof Category Icon --> <?php if ($module_show_categories != 0) {?> <?php /** * display the category icons */ require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?> <?php } ?> <!--eof Category Icon -->
3 Nov 2006, 12:25 AM
#8
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Getting rid of image at top of subcategory list

Found it... It's there just completely over looked it - Product Info Config

Thanks

3 Nov 2006, 4:06 AM
#9
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Getting rid of image at top of subcategory list

... or easier yet for older versions than v1.3.5, drop this into the stylesheet.css;

.categoryIcon { display: none }

Better to hack CSS than PHP. :smartass: