Forums / Setting Up Categories, Products, Attributes / Category/SubCategory image and links not displaying

Category/SubCategory image and links not displaying

Locked

Views: 4,294

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
15 May 2009, 5:07 AM
#1
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Category/SubCategory image and links not displaying

i have the latest zencart on a new install.
My sub category links with pics are not being displayed when you click on the category names.

For example, please click on my link at:
http://www.gelcandleswholesale.com/

then click on the category named ZEN TESTING.
You will see the sub categories open up in red on the left. But aren't we supposed to see the subcat links in the middle of the page being displayed too???

I appreciate anyones help.
Hope I posted this in the right place.

15 May 2009, 8:39 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

In your:

Admin>>>Configuration>>>Layout Settings...

What value have you applied to:

Categories - Always Show on Main Page

20 years a Zencart User

15 May 2009, 1:42 PM
#3
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

I have that as set on 1:

Categories - Always Show on Main Page - 1 (on)

15 May 2009, 5:21 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

Try getting rid of the # symbol in the category names. Just use alpha-numeric for all names.

20 years a Zencart User

16 May 2009, 3:29 AM
#5
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

the # symbol ?

I don't understand, I don't have qty or # shown at the site's categories.

thanks for your help.
http://www.gelcandleswholesale.com/

16 May 2009, 4:24 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

I see:

ZEN TESTING->
|_ #1 test sub

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

16 May 2009, 2:19 PM
#7
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

Gotcha!
I deleted the '#' but that did not do anything.

I still can't see the image and the sub category names in the center:
http://www.gelcandleswholesale.com/index.php?main_page=index&cPath=92

thanks

17 May 2009, 9:02 AM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

This is probably a corrupt template file that is giving you a "partial" blank page.

Take a look at:

includes/templates/template_default/templates/tpl_modules_category_icon_display.php

and see if there are any extra lines or letter spaces after the opening <?php** tag, or the closing **?> tag

You could do this:

  1. RE-NAME the following folder on your server...

includes/templates/template_default/templates

to
includes/templates/template_default/templates_original

(now you have a "backup" in place...)

  1. FTP a fresh copy of the original folder...

includes/templates/template_default/templates

... to the server.

(It could be that your core template files are corrupted, so you may need to grab a fresh copy of zencart program zip file from sourceforge.)

... in any event, if a file is corrupted it needs to either be repaired, or replaced with a non-faulty file.

20 years a Zencart User

22 May 2009, 6:12 AM
#9
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

Hello Schoolboy!

Thanks for the suggestion.
I did finally got a chance to do that today and the same problem remains.

I hate to reinstall again since I have the shared ssl setup and all with bluehost.
Any other suggestions?

Thanks

-spawnie

22 May 2009, 7:00 AM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

It could also be a problem with a MODULE file... You may care to try my suggestion above on the MODULE directory...

20 years a Zencart User

22 May 2009, 2:13 PM
#11
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

I just did that too and still not repaired.
Should I be deleting the cates and re-entering them? Or should they just appear?

Any other ideas?

thanks a million!
-Al

22 May 2009, 3:11 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Category/SubCategory image and links not displaying

What setting do you have in the Configuration ... Product Listing ...

Show SubCategories on Main Page while navigating
Show Sub-Categories on Main Page while navigating through Categories

0= off
1= on

If that is not the problem, do a search in the Developers Tool Kit in the bottom input box for:
tpl_modules_category_row.php

and select Catalog and click search ...

make sure the code is not commented out or missing on your site ...

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!

22 May 2009, 3:37 PM
#13
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

Show SubCategories on Main Page while navigating
Show Sub-Categories on Main Page while navigating through Categories

0= off
1= on

I have this set on 1=on

I used the Developers Tool and got this message:

Searching 695 files ... for: tpl_modules_category_row.php

/home/gelcandl/public_html/includes/templates/template_default/templates/tpl_index_categories.php

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

/home/gelcandl/public_html/includes/templates/template_default/templates/tpl_modules_category_row.php

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

I opened the file and this is the code:

<?php /** * index category_row.php * * Prepares the content for displaying a category's sub-category listing in grid format. * Once the data is prepared, it calls the standard tpl_list_box_content template for display. * * @package page * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_modules_category_row.php 2986 2006-02-07 22:27:29Z drbyte $ */ require(DIR_WS_MODULES . zen_get_module_directory('category_row.php')); require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php'); ?>

Any other ideas
Thanks for your input.
-spawnie

22 May 2009, 6:27 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: Category/SubCategory image and links not displaying

What are your settings in the Maximum Values for:

Categories To List Per Row
How many categories to list per row

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!

22 May 2009, 6:58 PM
#15
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

It shows '3' set for Categories To List Per Row.

Here is the Admin login info if you like to look and see:

https://secure.bluehost.com/~gelcandl/admin/configuration.php?gID=3

login: zencart
password: zencart

many thanks.
-spawnie

22 May 2009, 7:02 PM
#16
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Category/SubCategory image and links not displaying

GOT IT!

I retraced my steps and this was the problem...

Show SubCategories on Main Page while navigating
Show Sub-Categories on Main Page while navigating through Categories

0= off
1= on

I had this set on 0 and it should of been on 1.

I apoligze earliers I stated otherwise.
I had a brain fart.

Thank you guys so much. I love zencart and the community is the best!

One final question, how can I have the subs show in 2 columns instead of 1?
see here:
http://www.gelcandleswholesale.com/index.php?main_page=index&cPath=96

-spawnie

22 May 2009, 7:23 PM
#17
ajeh avatar

ajeh

Oba-san

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

Re: Category/SubCategory image and links not displaying

Peek in the Configuration ... Maximum Values ...

Categories To List Per Row
How many categories to list per row

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!

23 May 2009, 5:57 PM
#19
ajeh avatar

ajeh

Oba-san

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

Re: Category/SubCategory image and links not displaying

You appear to have the one site setup where the Top Level Category has a large image and there isn't a break ( <br />) between the image and the text ...

Maybe a view source will help you see how this is done or a comparrison of the template stylesheets ...

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!