Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Posts
    3
    Plugin Contributions
    0

    Default Adding specific sideboxe for EZ pages

    I want to have a specific sidebox show up only on a couple of my EZ pages and can't seem to do it.

    The page I don't want it to show up in is index.php?main_page=page&id=8 but I can't seem to get the code right.

    I know how to do it for the "index.php" page and other pages like "shopping_cart", "checkout", etc but not the EZ pages. For instance, I am using:

    if (in_array($current_page_base,explode(",",'index')) ) {
    $flag_disable_right = true;
    $flag_disable_left = true;
    }

    to turn off the sideboxes on the homepage but not sure what to change to point to the above link.

    Thanks

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Adding specific sideboxe for EZ pages

    Try using ez_pages_link(8) and see if that does the trick.

  3. #3
    Join Date
    Nov 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Adding specific sideboxe for EZ pages

    You can turn off the sideboxes for specific EZ page by going to Configuration>EZ Pages Settings>EZ-Pages Pages to disable left-column.

    What I was trying to do was show a specific sidebox on a specific EZ page, which can be done like this:

    In the go the the code of the sidebox you only want to show on a specific page and you can add this:
    includes/modules/sideboxes/YOUR_TEMPLATE/YOUR_SIDEBOX.php

    $show_side_navigation = true;

    if (in_array($ezpage_id,explode(",",'9')) ) {
    $show_side_navigation = true;
    }else{
    $show_side_navigation = false;
    }

    Where "side_navigation" is the name of your sidebox and "9" is the EZ page you want the side box to show on. It will be off for every other page.

    Thanks Ajeh, some of your post lead me to this answer.

 

 

Similar Threads

  1. Specific sideboxe to show on specific page only
    By nicksab in forum General Questions
    Replies: 18
    Last Post: 17 Jul 2012, 07:22 AM
  2. Adding images to specific pages
    By shanesoine in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Nov 2010, 06:09 PM
  3. Specific pages for specific customers
    By DamienDLSkinSolution in forum General Questions
    Replies: 3
    Last Post: 15 Mar 2010, 04:28 AM
  4. adding product specific info into <head> tags on product pages for facebook
    By donplay in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 17 Feb 2010, 01:34 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR