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

    Default Dynamic Sidebars

    Hi is there a way to make the sidebars more dynamic like a wordpress site? Or, is this feature built into any of the newer themes?

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

    Default Re: Dynamic Sidebars

    Not sure exactly what you mean by 'dynamic'.

  3. #3
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Dynamic Sidebars

    Hi, I mean that you can create different style of sidebars depending on the page the visitor is on. For example, some pages might not even need a side bar such as the shopping cart, etc.

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

    Default Re: Dynamic Sidebars


  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Dynamic Sidebars

    Yes... all of this is possible, though not in the same way that WordPress does it. There are a number of techniques, and indeed "combinations" of techniques, which include:

    1. Stylesheets (page-specific)
    2. Edits to tpl_main_page.php
    3. Settings in layout controllers ( including EZPages, where you can disable columns based on EZPage ID numbers).
    20 years a Zencart User

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

    Default Re: Dynamic Sidebars

    You can also edit specific sideboxes' module files to control when they will display, if you want that level of granularity.

  7. #7
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Dynamic Sidebars

    Quote Originally Posted by stevesh View Post
    Thank you, that's looks like it's going to be helpful!

  8. #8
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Dynamic Sidebars

    Quote Originally Posted by schoolboy View Post
    Yes... all of this is possible, though not in the same way that WordPress does it. There are a number of techniques, and indeed "combinations" of techniques, which include:

    1. Stylesheets (page-specific)
    2. Edits to tpl_main_page.php
    3. Settings in layout controllers ( including EZPages, where you can disable columns based on EZPage ID numbers).
    Thanks! Is your #3 something to do with the option to turn on and off the center column status in the layout boxes controller? It never works for some reason.

  9. #9
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Dynamic Sidebars

    Quote Originally Posted by gjh42 View Post
    You can also edit specific sideboxes' module files to control when they will display, if you want that level of granularity.
    How about to get rid of the sidebar entirely on the checkout page to make that page full width for example?

  10. #10
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Dynamic Sidebars

    Quote Originally Posted by pricediscrimination View Post
    Thanks! Is your #3 something to do with the option to turn on and off the center column status in the layout boxes controller? It never works for some reason.
    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


    2. Page/category specific stylesheets (SEE THE README file in /includes/templates/classic/css/CSS_read_me.txt

    Using {display:none} declarations for either the whole column, or even certain sideboxes in a column, you can hide elements on specific pages/categories...


    3. For EZPAGES, see ADMIN>>>CONFIGURATION>>>EZ PAGES SETTINGS...
    EZ-Pages Pages to disable headers
    EZ-Pages Pages to disable footers
    EZ-Pages Pages to disable left-column
    EZ-Pages Pages to disable right-column
    20 years a Zencart User

 

 
Page 1 of 2 12 LastLast

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