Thread: side columns

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: side columns

    It looks like a double negative in the syntax...;)

    Remove the ! from the beginning of the if statement and see what happens. I think that will reverse the whole test.

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: side columns

    Home Page = 2 columns
    Click a Category = 2 columns (as in product listings)

    Click a Product, information link = 1 column
    New, All, Specials = 1 column
    Search = 1 column

    PHP Code:
      if (($current_page!='index' || !(int)$cPath>0)) {
        
    $flag_disable_left true;
      } 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #13
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,550
    Plugin Contributions
    9

    Default Re: side columns

    Watta'girl...
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: side columns

    oops must need more coffee so late at night -- just remove the first ! mark from this line:
    PHP Code:
    if (!($current_page!='index' || (int)$cPath>0)) { 
    making it like this:
    PHP Code:
    if ($current_page!='index' || (int)$cPath>0) { 
    (okay, I removed the extra set of brackets too, to make it cleaner)

    DOH ... Ajeh beat me to it .... such the quick little elf that she is....
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Sep 2004
    Posts
    42
    Plugin Contributions
    0

    Default Re: side columns

    Thanks Ajeh and Thanks DrByte it worked, you guys saved me

    thanks again n gud luck

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Display product attributes in two columns (side by side)
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 72
    Last Post: 8 Nov 2010, 01:55 AM
  2. problems with side columns
    By diseasecore in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Aug 2010, 11:38 PM
  3. no side columns on index
    By griffo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2008, 09:22 AM
  4. Utilising Side Columns
    By kru in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2008, 05:12 PM
  5. Colour of Side Columns
    By Steven300 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Jan 2008, 02:26 PM

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