Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38
  1. #21
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Blank Sidebox as Linked Graphic Only

    Yep, each sidebox now has only one .xsnazzyCushion div wrapping it.

    For the live help sidebox, repeat the set of rules above, changing #logosidebox10reasons to #livehelp.
    Add
    #livehelpHeading {display: none;}

  2. #22

    Default Re: Blank Sidebox as Linked Graphic Only

    Works great - thanks!
    BenchmarkDesign.Net - Integrated Media Solutions

  3. #23

    Default Re: Blank Sidebox as Linked Graphic Only

    I was wondering if you could help me figure this one out. I've gone one Logo Sidebox that I don't want to show up on the home page, as well as, several other ezpages. The code to hide on the ezpages is fine and listed below, I'm just not sure how to hide on the home page too. Any help would be greatly appreciated! Thanks!

    Code:
    Code:
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version:  1.1
    //Updated: 8/21/2008
    //License: under the GPL - See attached License for info.
    //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
    //Support:  Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
    //  --------------------------------------------------
    //  zen-cart Open Source E-commerce                                      
    //  Copyright (c) 2003-2006 The zen-cart developers                           
    //  http://www.zen-cart.com/index.php                                    
    //  Portions Copyright (c) 2003 osCommerce                               
    //  --------------------------------------------------
    // $Id: logo_sidebox.php,v 1.1 8/21/2008
    
    // test if box should display
      $show_logo_sidebox = true;
    
     if (!isset($ezpage_id) || !in_array($ezpage_id,explode(",",'20,21,5,32,33,26,35,18,36,37,38,39,40,41,42,43,44,45,46,48'))) {
          require($template->get_template_dir('tpl_logo_sidebox_affiliate.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_logo_sidebox_affiliate.php');
          $title =  BOX_HEADING_LOGO_SIDEBOX;
          $left_corner = false;
          $right_corner = false;
          $right_arrow = false;
          require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
     }
    ?>
    BenchmarkDesign.Net - Integrated Media Solutions

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

    Default Re: Blank Sidebox as Linked Graphic Only

    Add the test for home page to the rest:
    PHP Code:
    // test if box should display
      
    $show_logo_sidebox true;

     if (!
    $this_is_home_page and (!isset($ezpage_id) || !in_array($ezpage_id,explode(",",'20,21,5,32,33,26,35,18,36,37,38,39,40,41,42,43,44,45,46,48')))) {
          require(
    $template->get_template_dir('tpl_logo_sidebox_affiliate.php',DIR_WS_TEMPLATE$current_page_base,'sideboxes'). '/tpl_logo_sidebox_affiliate.php');
          
    $title =  BOX_HEADING_LOGO_SIDEBOX;
          
    $left_corner false;
          
    $right_corner false;
          
    $right_arrow false;
          require(
    $template->get_template_dir($column_box_defaultDIR_WS_TEMPLATE$current_page_base,'common') . '/' $column_box_default);
     }
    ?> 

  5. #25

    Default Re: Blank Sidebox as Linked Graphic Only

    works pefectly! Thanks!
    BenchmarkDesign.Net - Integrated Media Solutions

  6. #26
    Join Date
    Mar 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Blank Sidebox as Linked Graphic Only

    How can I create a rollover effect with this image within the logo sidebox?

  7. #27
    Join Date
    Mar 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Blank Sidebox as Linked Graphic Only

    Also, my hyperlink isn't working for this image...is there something wrong with this code?

    define('LOGO_SIDEBOX_LINK', 'http://www.zitabkids.com/');

  8. #28
    Join Date
    Mar 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Blank Sidebox as Linked Graphic Only

    Just wanting to follow up to see if anyone knows how I can make my logo sidebox image work as a rollover. Also, my hyperlink isn't working for this image...is there something wrong with this code?

    define('LOGO_SIDEBOX_LINK', 'http://www.zitabkids.com/');

    Thank you in advance for your help! This forum has been great!

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

    Default Re: Blank Sidebox as Linked Graphic Only

    How do you want the image to change on rollover? You might need to use some javascript; otherwise, you would use a pair of background-images in your stylesheet in place of the coded foreground image you have now.

    The define is properly formed, but we can't tell whether it includes everything it needs without seeing the code that calls it.

  10. #30
    Join Date
    Mar 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Blank Sidebox as Linked Graphic Only

    I would like the buttons to look just like they do on http://www.zitabkids.com
    you would use a pair of background-images in your stylesheet in place of the coded foreground image you have now.
    I'm not sure what that means by using a pair of background images. ????

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Sidebox Header Graphic Question(s)
    By Hell Guapo in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 3 Jan 2012, 12:25 AM
  2. Blank Sidebox Only On Homepage
    By Globie in forum General Questions
    Replies: 2
    Last Post: 27 Oct 2008, 06:44 AM
  3. Changing the size(length) of the Blank-Sidebox only.
    By Robbyn7 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Sep 2007, 08:17 PM
  4. Adding Graphic to Bottom of Cart Sidebox
    By jacdesigner in forum Basic Configuration
    Replies: 2
    Last Post: 17 Nov 2006, 04:01 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