Results 1 to 9 of 9

Threaded View

  1. #6
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    187
    Plugin Contributions
    0

    Default Re: Disable Right Column from index&cPath only

    I just tried using this and it didn't work for me.

    This is suppose to disable the right column in the store, right?
    Even the subcatagories?

    I'm currently using this file for my product listing that works:
    if ($current_page_base == 'index' and $cPath == '65') {
    $flag_disable_right = true;
    }


    But it doesn't work on my subcatagory's page....
    I'm at a lost because i want my subcatagories to disable right too, but they're just too many to manually plug in.

    Quote Originally Posted by clydejones View Post
    You could also use the following:

    if ($current_page_base == 'index' and $cPath > '0' ) {
    $flag_disable_right = true;
    }
    Last edited by ljdream00; 22 Mar 2011 at 06:50 AM. Reason: more explaination

 

 

Similar Threads

  1. v151 disable right column only in Category page
    By asdfwen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jun 2013, 04:52 AM
  2. v151 Add To Cart From Product Details index&cPath Issue
    By jbible in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2013, 04:10 PM
  3. How to add banner to index.php?main_page=index&cPath=0 ?
    By Alexiss in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Oct 2011, 04:55 PM
  4. Category Images displayed in link /index.php?=index&cPath=0
    By shadowd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Feb 2010, 09:16 PM
  5. disable right column background only on product_info
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2009, 12:09 AM

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