Results 1 to 6 of 6

Hybrid View

  1. #1

    Default Sidebox problem - Can't get side boxes to appear in right column of product info page

    Hi All,

    I'm using version v1.3.9h and I would like to display banners in the far right hand column of my product info pages.

    Our main index page and category pages (see link 1 and 2 below) are are all able to display side boxes in the far right hand column of the page but when you click to an individual product info page, all right hand side boxes disappear (see link 3 below).

    Any ideas as to why this happens and how I can activate the far right hand column on the product info pages?

    Link 1. http://www.futuregarageservices.co.uk/shop/
    Link 2. http://www.futuregarageservices.co.u...ools-c-55.html
    Link 3. http://www.futuregarageservices.co.u...p-p-12718.html

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sidebox problem - Can't get side boxes to appear in right column of product info

    Just looking at the source of the page, I would assume that you have code in (possibly) tpl_product_info_display.php that turns that side column off on that page. Maybe part of the template coding ?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox problem - Can't get side boxes to appear in right column of product info

    Often the cause of that issue is a PHP error on the page in question which halts output processing. That would eliminate the footer too, though, and your footer is intact and the code flows normally as if the right column was intentionally turned off.
    Do you have any customizations to /includes/templates/your_template/common/tpl_main_page.php? Has the issue always been there? If not, when did it start, and what things did you do before that?


    tpl_product_info_display.php would also be a likely place to look.

  4. #4

    Default Re: Sidebox problem - Can't get side boxes to appear in right column of product info

    Thanks for the pointers - I've found the answer.

    The file in question was includes/templates/template_default/common/tpl_main_page.php - this contains a line of code which deactivates the right hand column of several pages - mainly checkout pages and account pages but also product info pages.

    I created and override of this file in my custom template folder, located the following block of code:

    // the following IF statement can be duplicated/modified as needed to set additional flags
    if (in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,che ckout_confirmation,login,product_info,shopping_cart,account,account_history_info,account_history')) ) {
    $flag_disable_right = true;
    }

    ... and erased "product_info" from the list of pages included.

    Voila! The right hand column now appears on product info pages.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox problem - Can't get side boxes to appear in right column of product info

    That copy of the file had already been customized from stock, and should not have been in /template_default/, but in your template folder where you put your copy.

  6. #6

    Default Re: Sidebox problem - Can't get side boxes to appear in right column of product info

    Whoops! My bad.

    I guess this illustrates the importance of using overrides!

 

 

Similar Threads

  1. v151 Can product attributes to Stretch across center column in stead of right side
    By tgood31 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Oct 2013, 02:52 AM
  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. v139h EstoreNow Template - Right Side Column not appear
    By cwl3683 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Apr 2012, 11:45 PM
  4. Lost main page info plus right side boxes
    By cherriedesigns in forum Basic Configuration
    Replies: 1
    Last Post: 19 Mar 2010, 11:18 AM
  5. Can't get boxes to show on right side...
    By LilleyPadGifts in forum Customization from the Admin
    Replies: 10
    Last Post: 2 Dec 2008, 03:10 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