Results 1 to 6 of 6
  1. #1
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Disabling Right side bar

    Hi folks been searching all day for this seen a tutorial for it but couldnt quite get it what it is, is I want my right sidebar the whole column to not be visible in the homepage. I have created a folder called common in my templates directory and added a copyt of the tpl_main_page.php file there not sure what to do next

    All help appreciated

    Thanks
    Joe

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Disabling Right side bar

    Jo,
    on the top of this page click on Tutorials/FAQ

    1. search for:
    2. disable right column

  3. #3
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Disabling Right side bar

    I have done that but the tutorial where it gives the code it doesnt say where u insert the code just says insert. so it has kinda confused me

    Thanks
    Joe

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Disabling Right side bar

    Quote Originally Posted by joe2009uk View Post
    I have done that but the tutorial where it gives the code it doesnt say where u insert the code just says insert. so it has kinda confused me

    Thanks
    Joe
    includes/ templates/ your_template/ common/ tpl_main_page.php
    PHP Code:
    if  (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces'))  ) {
         
    $flag_disable_right true;
      } 
    Replace this with this:
    PHP Code:
    if  (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces'))  ) {
         
    $flag_disable_right true;
      }
    if  (
    $this_is_home_page) {
         
    $flag_disable_right true;
      } 

  5. #5
    Join Date
    May 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Disabling Right side bar

    Thanks mate worked a treat back to graphic design the joys lol :)

    Thanks again
    Joe

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Disabling Right side bar

    Joe,
    You are most welcome..

 

 

Similar Threads

  1. v150 Main page suddenly missing right side bar and footer
    By Blueeyedfrog in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Aug 2012, 11:51 PM
  2. Missing Right Side Bar and bottom of Page on product info page
    By schobook in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jul 2012, 05:30 PM
  3. turn off left or right side bar on home page only [and only certain EZ pages]
    By thebigkick in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2012, 10:23 PM
  4. Adding 2 image buttons and 1 image to right hand side bar
    By optimalwebsite in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Feb 2009, 01:35 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