Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Right Hand Columns

    Hi,

    How can I set it so that the right hand columns (Featured, Shopping Cart, etc.) only appear on the main index page, and not on product or category pages?

    Thanks
    david

  2. #2
    Join Date
    Sep 2008
    Posts
    101
    Plugin Contributions
    0

    Default Re: Right Hand Columns

    I'm a newbie and this is my first attempt to help someone, so no guarantees here, but based on this post

    http://www.zen-cart.com/forum/showpo...33&postcount=2

    what if you were to try

    open includes/templates/YOUR_TEMPLATE/common/tpl_main_page_php.

    at around line 45 add the following code:

    Code:
    if ($this_is_home_page) {
    $flag_disable_right = false;
    } else {
    $flag_disable_right = true;
    }
    Probably there is a simpler way of doing it without the ELSE statement, but maybe give it a try?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Right Hand Columns

    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.

  4. #4
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Right Hand Columns

    Hi,

    It's www.straightrazordesigns.com..

    Thanks
    David

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Right Hand Columns

    In the stock Zen Cart template for tpl_main_page are instructions on disabling the columns on various pages ... Unfortunately you are using a TM template and there are no guarantees that it will work properly.
    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.

  6. #6
    Join Date
    May 2008
    Posts
    261
    Plugin Contributions
    0

    Default Re: Right Hand Columns

    HI,Kim

    Can you please help me to figure out this problem of layout category picture & description at
    http://www.zen-cart.com/forum/showthread.php?t=113382

    many appreciated.

  7. #7
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Right Hand Columns

    What would be the variable for product listing pages (Categories with all products showing) be? $xxxx?

    Thanks
    David


    Quote Originally Posted by alexwoolfson View Post
    I'm a newbie and this is my first attempt to help someone, so no guarantees here, but based on this post

    http://www.zen-cart.com/forum/showpo...33&postcount=2

    what if you were to try

    open includes/templates/YOUR_TEMPLATE/common/tpl_main_page_php.

    at around line 45 add the following code:

    Code:
    if ($this_is_home_page) {
    $flag_disable_right = false;
    } else {
    $flag_disable_right = true;
    }
    Probably there is a simpler way of doing it without the ELSE statement, but maybe give it a try?

 

 

Similar Threads

  1. Gap Between Right Hand Banners
    By yorkshiregc in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Aug 2010, 03:29 PM
  2. blank strip on right hand side
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 4 Jun 2010, 12:44 PM
  3. Right hand margin space >.<
    By prim0pyr0 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Aug 2009, 01:09 PM
  4. Nested right hand menu
    By karl19 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Jun 2007, 05:53 PM
  5. changing right-hand logo boxes.
    By Tiapan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 May 2007, 08:48 PM

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