Forums / Templates, Stylesheets, Page Layout / Converting from CubeCart - Categories on main page

Converting from CubeCart - Categories on main page

Locked

Views: 1,670

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 Jul 2007, 10:29 PM
#1
aris avatar

aris

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Converting from CubeCart - Categories on main page

I've searched through the forums here, and the consensus is that if I set 'Categories always show on main page' to 1, and 'main page - opens with category' to '0' then it would show my categories, with images, on the main page in the center section.

Is this not the case - it doesn't seem to work for me. I'm on 1.3.7.1 and using both classic and silverfish templates.

If i'm getting this wrong - can someone tell me how to do this? My site is simple - just 6 categories (no sub cats), and about 5 items per category.

Thanks,

15 Jul 2007, 11:15 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Converting from CubeCart - Categories on main page

Your URL?

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.

15 Jul 2007, 11:50 PM
#3
aris avatar

aris

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Re: Converting from CubeCart - Categories on main page

Sorry - it is not on the web - just on a local machine for now where I do all my testing.

Is there some config Info I could post?

All I did was a fresh install of 1.3.7.1 - with the test data. I then removed most of the test ocnfig manually by deleting all the categories etc, and made modifications to the config via the ZC gui.

Aris

16 Jul 2007, 12:12 AM
#4
Kim avatar

Kim

Obaa-san

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

Re: Converting from CubeCart - Categories on main page

Have you put any categories back in?

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 Jul 2007, 12:34 AM
#5
aris avatar

aris

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Re: Converting from CubeCart - Categories on main page

Yes, i've created 5 new categories - two of which have items in them (but i'd expect empty categories to show too).

I had a quick look through the code,

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

<!-- BOF: Display grid of available sub-categories, if any -->
<?php
  if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
    // do nothing
  } else {
    // display subcategories
/**
 * require the code to display the sub-categories-grid, if any exist
 */
   require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
  }
?>
<!-- EOF: Display grid of available sub-categories -->

I had a look in the configuration table in the database (mysql), and it showed this set to 0.

I manually did an update on this value:

update configuration set configuration_value = 1 where configuration_title = 'Show SubCategories on Main Page while navigating';

Now it appears to work.

So the question is really - which config option in the GUI should be updating this to 1?

17 Jul 2007, 9:59 PM
#6
aris avatar

aris

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Re: Converting from CubeCart - Categories on main page

Anyone know what part of the admin GUI would set this field to 1 so that the category images work?

17 Jul 2007, 10:34 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Converting from CubeCart - Categories on main page

I think you may be looking for Product Listing under Configuration in the Admin.

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

18 Jul 2007, 6:09 AM
#8
aris avatar

aris

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Re: Converting from CubeCart - Categories on main page

Yes - that appears to be it - thanks!