Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Dynamic Sidebars

    Quote Originally Posted by schoolboy View Post
    No... column control is best-managed by:

    1. edits to tpl_main_page.php (where you can disable left/right columns for specific pages)...

    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    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;
      } 
    EG

    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    if  (in_array($current_page_base,explode(",",'shopping_cart'))  ) {
        
    $flag_disable_right true;
      } 
    There are comprehensive NOTES in tpl_main_page.php for column display customisation
    Tried this one so far, and it works flawlessly! Thank you so much. I'll explore the other options too.

  2. #12
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Dynamic Sidebars

    When you empty the cart, it carries over the missing sidebar, is there a way to put the sidebar back in in a situation like this?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Sidebars not to rotate
    By nomadrw in forum Basic Configuration
    Replies: 0
    Last Post: 20 Sep 2007, 08:28 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