Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / I've lost the sub-category nav bar on all but the home page.

I've lost the sub-category nav bar on all but the home page.

Locked

Started by earl_parker_ii on 20 Dec 2007, 7:57 PM · Views: 958

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Dec 2007, 7:57 PM
#1
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Post #1 by earl_parker_ii

I have the sub-category nav bar on the home page but when I click on any of my main categories there's no sub-category nav bar to be seen. When I look at the source code (as in View > Page Source) the nav bar has been commented out. For example:

<!-- 
<!-- BOF: Display grid of available sub-categories, if any -->

    <div class="categoryListBoxContents" style="width:50%;"><a href="http://biz29.inmotionhosting.com/~naspwe5/cart/index.php?main_page=index&cPath=1_4"><img src="images/pixel_trans.gif" alt="Professional" title=" Professional " width="1" height="1" /><br />Professional</a></div>
    <div class="categoryListBoxContents" style="width:50%;"><a href="http://biz29.inmotionhosting.com/~naspwe5/cart/index.php?main_page=index&cPath=1_8"><img src="images/pixel_trans.gif" alt="Topical" title=" Topical " width="1" height="1" /><br />Topical</a></div>
<br class="clearBoth" />
  
<!-- EOF: Display grid of available sub-categories -->
 -->

I've spent the last few hours searching for relevant code that has been commented out, to no avail. It almost seems as though PRODUCT_LIST_CATEGORY_ROW_STATUS in tpl_index_categories.php is set to 0. I've been through the Admin settings and it looks like everything that would have a bearing on the matter is turned on.

Obviously I'm overlooking something. Does anyone have any ideas?

20 Dec 2007, 8:44 PM
#2
Kim avatar

Kim

Obaa-san

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

Post #2 by Kim

Your URL? It is nearly impossible to give anything except a guess without seeing the site.

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.

20 Dec 2007, 8:48 PM
#3
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Post #3 by earl_parker_ii

Excellent point- it's http://biz29.inmotionhosting.com/~naspwe5/cart/.

I may actually have a much larger problem, possibly stemming from my first efforts a number of days ago. Consider this code from index.php:

} elseif ($category_depth == 'top') {
  // This section deals with the "home" page at the top level with no options/products selected
  /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
  define('HEADING_TITLE', 'Welcome to the NASP Online Store!');
} elseif ($category_depth == 'nested') {
  // This section deals with displaying a subcategory
  /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
  define('HEADING_TITLE', 'Thank you for shopping with the NASP!'); 

When I changed the second heading title to 'Thank you for shopping with the NASP!' and reloaded the home page, it appeared on the *home *page.