Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    43
    Plugin Contributions
    0

    Default sidebar not appearing in categories page

    Hi everyone,

    I've set up the side bar not to appear in the home page using the following code in tpl_main_page.php:

    if (in_array($current_page_base,explode(",",'index')) ) {
    $flag_disable_right = true;
    }

    this works fine apart from when I click on a category, for some reason the sidebar is not appearing there either. Its appearing in all the other pages.

    Any ideas?

    Thanks in advance

  2. #2
    Join Date
    May 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: sidebar not appearing in categories page

    OK, so I changed
    if (in_array($current_page_base,explode(",",'index')) ) {
    $flag_disable_right = true;
    }

    for

    if ($this_is_home_page) {
    $flag_disable_right = true;
    }

    and now it works

 

 

Similar Threads

  1. Categories not appearing in menu
    By Tajio in forum Addon Templates
    Replies: 5
    Last Post: 24 Jun 2011, 05:41 AM
  2. Creating collection categories that appear in a sidebar and not in the category tab
    By MeasureDesigns in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Apr 2010, 02:10 PM
  3. category image not appearing for all categories
    By ccdca710 in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 15 Feb 2010, 08:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR