Page 1 of 21 12311 ... LastLast
Results 1 to 10 of 201
  1. #1
    Join Date
    Jan 2007
    Posts
    8
    Plugin Contributions
    0

    Default Logo Sidebox Help

    I'm trying to make the logo sidebox hyperlink target blank but I am having problems achieving this.

    Any help much appreciated.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Logo Sidebox Help

    I'm trying to make the logo sidebox hyperlink target blank but I am having problems achieving this.
    If I understand what you mean by the common use of "Blank" in this instance meaning to open this in a new window the followwing is the std form:
    Code:
    <a HREF="your_link.???" TARGET="_blank">Your Link Name</a>
    Zen-Venom Get Bitten

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

    Default Re: Logo Sidebox Help

    in includes/languages/english/extra_definitions/logo_sidebox_defines.php

    find:

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

    You can then add you link.

    save the file and upload to your server.

  4. #4
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Quote Originally Posted by clydejones View Post
    in includes/languages/english/extra_definitions/logo_sidebox_defines.php

    find:

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

    You can then add you link.

    save the file and upload to your server.
    OK, Clyde - What am I missing here? My logo_sidebox is operating but I can't seem to make the link active. Here's my logo_sidebox_defines.php:
    Code:
    <?php
    //
    // Blank Sidebox Mod
    // includes/modules/sideboxes/blank_sidebox_defines.php
    //
    //  --------------------------------------------------
    //  http://www.MommaMuse.com mod Zen-Cart - by Judi Cox                  
    //  --------------------------------------------------
    //  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                               
    //  --------------------------------------------------
    //  This source file is subject to version 2.0 of the GPL license,       
    //  that is bundled with this package in the file LICENSE, and is        
    //  available through the world-wide-web at the following url:           
    //  http://www.zen-cart.com/license/2_0.txt.                             
    //  If you did not receive a copy of the zen-cart license and are unable 
    //  to obtain it through the world-wide-web, please send a note to       
    //  [email protected] so we can mail you a copy immediately.
    //  --------------------------------------------------
    //
    // $Id: blank_sidebox_defines.php,v 1.0 6/24/2006
    // Original modification by Carter Harris [email protected] based on the tpl_featured.php file 
    // Additionally modified by Judi Cox http://www.mommamuse.com
    
    define('BOX_HEADING_LOGO_SIDEBOX', 'Visiting Florence? Place your order in advance of your arrival.');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '68');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '50');
    define('LOGO_SIDEBOX_IMAGE', 'Italy.gif');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Benvenuto!');
    
    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX_LINK', 'http://www.beadedlily.com/shop/index.php?main_page=page_3');
    
    ?>
    The site in question is the link below. Thanks!!

    Tim

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

    Default Re: Logo Sidebox Help

    look in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

    I've bolded the parts that apply to your situation.
    Code:
    <?php
    //
    // Blank Sidebox Mod
    // includes/templates/templates_default/sideboxes/tpl_blank_sidebox.php
    //
    //  --------------------------------------------------
    //  http://www.MommaMuse.com mod Zen-Cart - by Judi Cox                  
    //  --------------------------------------------------
    //  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                               
    //  --------------------------------------------------
    //  This source file is subject to version 2.0 of the GPL license,       
    //  that is bundled with this package in the file LICENSE, and is        
    //  available through the world-wide-web at the following url:           
    //  http://www.zen-cart.com/license/2_0.txt.                             
    //  If you did not receive a copy of the zen-cart license and are unable 
    //  to obtain it through the world-wide-web, please send a note to       
    //  [email protected] so we can mail you a copy immediately.
    //  --------------------------------------------------
    //
    // $Id: tpl_blank_sidebox.php,v 1.0 6/24/2006
    // Original modification by Carter Harris [email protected] based on the tpl_featured.php file 
    // Additionally modified by Judi Cox http://www.mommamuse.com
    //
    // Link Option - uncomment this if you intend to use the logo as a link
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT); 
    
      $content = '';
        $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '">';
    
      $content .=  $logoimage;
    
      $content .= '</div>';
    ?>

  6. #6
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Yep, that did it! Thanks Clyde

    By-the-by; even though we are on different continents, I can always count on you to reply almost instantly no matter what time I post. Do you sleep??

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by MeltDown View Post
    Yep, that did it! Thanks Clyde

    By-the-by; even though we are on different continents, I can always count on you to reply almost instantly no matter what time I post. Do you sleep??

    As necessary or when the urge hits me. li....rig...n...

  8. #8
    Join Date
    Jan 2006
    Location
    Kentwood, Louisiana, United States
    Posts
    117
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    What is a logo sidebox? What logos? Where can I see a sample of this? Where do I find the download?

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

    Default Re: Logo Sidebox Help

    Its a sidebox in which you can place a logo (any logo you choose)

    its available in the downloads section here:

    www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_52&products_id=405

    You can see a sample here: Top Left sidebox

    mysticmountainnaturals.com/testsite/index.php

  10. #10
    Join Date
    Nov 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hi Clyde,

    How can i alter the script to have the link shown in a new page?

    Thanks

    Ilonka

 

 
Page 1 of 21 12311 ... LastLast

Similar Threads

  1. Center Logo Sidebox, Live Help?
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Dec 2008, 07:46 PM
  2. Replies: 1
    Last Post: 8 Dec 2008, 05:18 PM
  3. Replies: 0
    Last Post: 5 Nov 2007, 02:27 AM
  4. How do I center the Live Help logo in sidebox?
    By vivaraquel in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Jul 2007, 09:23 AM
  5. Center Logo In sidebox, trust logo ?
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Feb 2007, 05:35 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