Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2004
    Posts
    54
    Plugin Contributions
    0

    remove sideboxes from single page

    It says we can override the pages to remove the sideboxes from a single page. How do I do this? I'm having problems with the account_history tables pushing my right sideboxes off the page. I'd be ok if I can turn the sideboxes off on this single page.

    I tried to change the table width, but that didn't work.
    Unfortunately, to see the problem, you have to have an account with a history.

    Thanks,
    Linda
    Linda Long
    Long2 Consulting
    www.long2consulting.com

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: remove sideboxes from single page

    Simply insert the names of the pages where you don't want the right hand sideboxes to show into the array on line 42 of includes/templates/common/tpl_main_page.php
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: remove sideboxes from single page

    ARGGGGGG
    I have spent the last three days trying to do this following old posts about overrides and if statements - and nothing seemed to work for me - so today I finally got the hump and gave up.
    And then I saw this -and it worked a dream. Can't believe that no one seems to have highlighted this before? Thanks Kuroi -

    BTW can this be used for sideboxes on EZpages? E.g. Can we use something like 'page&id=4&chapter=0' instead of a cat name like 'contact_us'? I couldn't get this to work - but thats no surprise based on my past record.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: remove sideboxes from single page

    Quote Originally Posted by markov View Post
    BTW can this be used for sideboxes on EZpages? E.g. Can we use something like 'page&id=4&chapter=0' instead of a cat name like 'contact_us'? I couldn't get this to work - but thats no surprise based on my past record.
    Yes it can. You will find the answer for ezpages in this FAQ entry.

    For a single EZ-Page, you can simplify the "if" condition given there to
    if ($ezpage_id=nnn) {
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: remove sideboxes from single page

    been searching up and down for the answer to that question..

    thanks again for saving my sanity, Kuroi.

    hope all is good with you....

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: remove sideboxes from single page

    Quote Originally Posted by pensive612 View Post
    been searching up and down for the answer to that question..

    thanks again for saving my sanity, Kuroi.

    hope all is good with you....
    All's good. Glad to be of help.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. remove sideboxes from main page
    By johnybravo in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Sep 2011, 11:54 AM
  2. Remove Sideboxes, Header and Footer from ONE page only?
    By HandcraftedUK in forum General Questions
    Replies: 1
    Last Post: 27 Jul 2010, 07:05 AM
  3. Remove sideboxes from product page
    By willwright111 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2010, 02:03 AM
  4. Remove Sideboxes from the Main Page?
    By Dimascus in forum Basic Configuration
    Replies: 2
    Last Post: 18 Dec 2009, 01:30 AM
  5. Remove Sideboxes from home page
    By tawebworks in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 8 Apr 2008, 08:19 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