Forums / Templates, Stylesheets, Page Layout / won't display category images on home page

won't display category images on home page

Views: 1,322

Results 1 to 16 of 16
19 Aug 2011, 8:16 PM
#1
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

won't display category images on home page

Hi

I hope someone can help.
I'm using Version 1.3.9

New install and i am modifying the template by adjusting the style sheets.I have the grid column layout installed.

I am trying to display category images on the home page. I set the following:

Categories - Always Show on Main Page = 1
Main Page - Opens with Category = 0
Nothing was displayed.

After being unable to get this to work i tried installing the categories centre box module.
I set the following and still nothing is displayed.

Categories - Always Show on Main Page = 1
Main Page - Opens with Category = blank (and tried 0)
Front-page Categories Columns Per Row

Here is a link to the site https://pegasus.terrassl.net/~michaell/

I'm new at this and i'm not sure what to try next.

Any advise would be great.

19 Aug 2011, 10:30 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

And if you turn off the SEO/rewrites? :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!

20 Aug 2011, 9:04 AM
#3
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

i've gone to SEO URLs but i'm not sure what i need to alter

20 Aug 2011, 12:57 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

I don't know as I do not use them ... usually there is a switch in the Configuration for the SEO to turn it off ...

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!

20 Aug 2011, 2:49 PM
#5
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

Originally you suggested I turn off the SEO/rewrites?

I don't know how to do this and have not knowingly touched these.

20 Aug 2011, 2:53 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

SEO/rewrites are usually from an add on ...

If you look in the Configuration menu of your Admin, you should see a menu choice for SEO ... see if there is a switch to turn it off ...

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!

20 Aug 2011, 3:20 PM
#7
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

I have the option to Enable SEO URLs, i have turned this off and there are still no images.

20 Aug 2011, 3:33 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

Could you check the settings in the Configuration ... Product Listing ... and see what you have for:

Include Product Listing Top Categories Image
Do you want to include the Top Categories Image on the Product Listing?

and the setting for:

Include Product Listing Sub Categories Image
Do you want to include the Sub Categories Image on the Product Listing?

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!

20 Aug 2011, 5:58 PM
#9
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

Include Product Listing Top Categories Image = True

Include Product Listing Sub Categories Image = False

20 Aug 2011, 6:02 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

And if you turn on the Subcategories to show the Categories image?

If it does not turn on, can you switch to the Classic Template to rule out that your templates and overrides have blocked or are missing the code for this?

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!

20 Aug 2011, 6:15 PM
#11
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

I turned on Subcategories to show the Categories image ans it's still the same. I switched to the classic template and they are displayed.

20 Aug 2011, 6:21 PM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

Re: won't display category images on home page

Can't we start charging cups of coffee for the devs to fix the :censored: Template Monster templates?

Talk about lipstick on a pig!

You will probably need to use winmerge or something like it to find out what TM has changed from real ZC files. Only you have access to your site to do that.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

20 Aug 2011, 6:24 PM
#13
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

That says it is your templates and overrides ...

Go to your Zen Cart Admin and in the Tools ... Developers Tool Kit ... do a search, in the bottom input box for:
category_row.php

and select Catalog from the dropdown and click SEARCH ...

What comes up?

The default files should show:

/includes/templates/template_default/templates/tpl_index_categories.php

Line #6 : * Uses tpl_index_category_row.php to render individual items

Line #72 : require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php'); 
/includes/templates/template_default/templates/tpl_modules_category_row.php

Line #2 : * index category_row.php

Line #11 : * @version $Id: tpl_modules_category_row.php 2986 2006-02-07 22:27:29Z drbyte $

Line #13 : require(DIR_WS_MODULES . zen_get_module_directory('category_row.php')); 

If you have template and override files for these two default files you should also see those require statements ...

Do you see them in there? If so, are they commented out?

If not, then the code is missing so the display does not happen ...

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!

20 Aug 2011, 7:07 PM
#14
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

This is what i get, the tpl_modules_category_row.php was displayed but on a different line so i restored the original.
Still the same.

includes/modules/theme486/category_row.php

Line #2 : * index category_row.php

Line #11 : * @version $Id: category_row.php 4084 2006-08-06 23:59:36Z drbyte $

/includes/templates/template_default/templates/tpl_modules_category_row.php

Line #2 : * index category_row.php

Line #11 : * @version $Id: tpl_modules_category_row.php 2986 2006-02-07 22:27:29Z drbyte $

Line #13 : require(DIR_WS_MODULES . zen_get_module_directory('category_row.php'));

20 Aug 2011, 7:26 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: won't display category images on home page

Does your template have the file:
/includes/templates/your_template_dir/templates/tpl_index_categories.php

If you compare that to the original file:
/includes/templates/template_default/templates/tpl_index_categories.php

Do you notice your file missing some code?

For File comparisons, something like Beyond Compare from scootersoftware.com is very helpful ...

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!

21 Aug 2011, 12:26 PM
#16
ajetty avatar

ajetty

New Zenner

Join Date:
Aug 2011
Posts:
9
Plugin Contributions:
0

Re: won't display category images on home page

Thanks for all your help. I'm going to get someone to modify the template, this is all beyond me.