Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default Re: Disabling right column of template on page by page basis

    Quote Originally Posted by gjh42 View Post
    If by that you mean a particular category page (whether the category is listing subcats or products), you could use for the category where cPath=2_13
    PHP Code:
    if ($current_page_base == 'index' and $cPath == '2_13') {
      
    $flag_disable_left true;

    Close but I mean a general category page. I mean the page that you land on when you click the link to a category.

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Disabling right column of template on page by page basis

    Since all category pages are "index" pages and almost vice versa (all "index" pages are categories or the homepage), you can use
    PHP Code:
    if ($current_page_base == 'index' and !$this_is_home_page) {
      
    $flag_disable_left true;


 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 30 May 2014, 02:43 AM
  2. Enabling/disabling left column based upon page ID
    By bobmeetin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Apr 2013, 05:34 PM
  3. Replies: 1
    Last Post: 29 Dec 2011, 03:31 PM
  4. Replies: 14
    Last Post: 20 Oct 2010, 10:43 PM
  5. Adding a Right Column to single column template
    By Delights in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Sep 2010, 11:22 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