Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2011
    Posts
    17
    Plugin Contributions
    0

    Default How do I hide the column on the main page?

    As the title states.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How do I hide the column on the main page?

    Where is your site?
    What zenCart version?

    What column?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I hide the column on the main page?

    Thank you.

    the site can be seen here: http://tinyurl.com/3kkujd5 (diclaimer; it is an adult novelty site)

    it is using 1.39

    I want to hide the left column on the main page.

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: How do I hide the column on the main page?

    This tutorial will get you on the right track:
    Mark
    Hare Do

  5. #5
    Join Date
    Apr 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I hide the column on the main page?

    ALright I'm close. Here's what I have but it pretty much makes the whole page blank. I'm sure its a simple error on my part

    PHP Code:
     * prepares and displays left column sideboxes
                      *
                      */


                    ?>
                    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT?>"><?php require(DIR_WS_MODULES zen_get_module_directory('column_left.php')); ?></div></td>
                    <?php
                    
    }
                    
    ?>
                        <td valign="top">
                    
                                   <?php>
                                  if ($this_is_home_page) {
                                  $flag_disable_left = true;
                                  }

                                  <?>                         
                    <?php
                      
    if (SHOW_BANNERS_GROUP_SET3 != '' && $banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET3)) {
                        if (
    $banner->RecordCount() > 0) {
                    
    ?>
                    <div id="bannerThree" class="banners"><?php echo zen_display_banner('static'$banner); ?></div>
                    <?php
                        
    }
                      }
                    
    ?>

                    <!-- bof upload alerts -->
                    <?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
                    <!-- eof upload alerts -->

                    <?php
                     
    /**
                      * prepares and displays center column
    Last edited by anonymous479; 3 Jun 2011 at 07:41 PM.

  6. #6
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: How do I hide the column on the main page?

    <?php>
    if ($this_is_home_page) {
    $flag_disable_left = true;
    }

    <?>
    Try this
    <?php
    if ($this_is_home_page) {
    $flag_disable_left = true;
    }

    ?>

  7. #7
    Join Date
    Apr 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I hide the column on the main page?

    Quote Originally Posted by CoolCarPartsOnline View Post
    Try this
    That actually did nothing. =/

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How do I hide the column on the main page?

    That actually did nothing. =/
    What is the file and path that you made the edit to?
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Apr 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I hide the column on the main page?

    /includes/templates/mytemplate/common/tpl_main_page.php

  10. #10
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: How do I hide the column on the main page?

    Quote Originally Posted by kobra View Post
    What is the file and path that you made the edit to?
    It's a template monster template, normal Zen Cart rules may not apply.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Can I hide the Model column on results page?
    By frankybaby in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Oct 2010, 09:52 PM
  2. How do I add Banner (Image) in the center column on the main page?
    By kubio in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Mar 2009, 06:59 PM
  3. Hide subcategoris in the center column or main page
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Aug 2008, 12:44 AM
  4. How to get rid of / hide the price on the main page only?
    By jaggers in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Nov 2007, 03:33 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