Results 1 to 10 of 201

Hybrid View

  1. #1
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: cloned sidebox breaks my site

    Quote Originally Posted by gjh42 View Post
    If you mean the Future Relics site, all of the collection titles were hand calligraphed by a friend of ours. I converted them to images and inserted them in the appropriate places in define_main_page.php.
    cool
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  2. #2
    Join Date
    May 2007
    Posts
    124
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hi
    When opening a new window for a link of a logo image, how do we resize the new window and remove the toolbar?

  3. #3
    Join Date
    Aug 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Ok, So I have followed the intstructions for cloning.and when I make all the changes the graphic does not appear. Here are my files

    logo_sidebox_defines.php
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://clydedesigns.com/)
    //Version: 2.1
    //Updated: 5/17/2011
    //Updated by gjh42 20110517
    //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_defines.php,v 2.1 2011-05-17

    define('BOX_HEADING_LOGO_SIDEBOX', '');

    //Logo number 1
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '206');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '111');
    define('LOGO_SIDEBOX_IMAGE', 'JustinLogo.png');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Justin Boots');
    define('LOGO_IMAGE', zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT));

    //this is optional if you want to use the logo as a link
    //add your link information to the define statement below
    //examples
    //define('LOGO_SIDEBOX_LINK', '"http://your_link.com/" rel="external" target="_blank"');//only if you want to open in a new window
    //define('LOGO_SIDEBOX_LINK', '"http://your_link.com/"');//if you want to open in the same window, such as going to your own site's page
    //define('LOGO_SIDEBOX_LINK', '"index.php?main_page=whatever&amp;id=etc"');//for a link to a page on your site
    define('LOGO_SIDEBOX_LINK', 'index.php?main_page=index&cPath=1');


    ?>


    logo_sidebox_defines.php
    // --------------------------------------------------
    // 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_defines.php,v 2.1 2011-05-17

    define('BOX_HEADING_LOGO2_SIDEBOX', '');

    //Logo number 1
    define('LOGO2_SIDEBOX_IMAGE_WIDTH', '206');
    define('LOGO2_SIDEBOX_IMAGE_HEIGHT', '111');
    define('LOGO2_SIDEBOX_IMAGE', 'JustinLogo.png');
    define('LOGO2_SIDEBOX_IMAGE_TEXT', 'Justin Boots');
    define('LOGO2_IMAGE', zen_image($template->get_template_dir(LOGO2_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO2_SIDEBOX_IMAGE, LOGO2_SIDEBOX_IMAGE_TEXT, LOGO2_SIDEBOX_IMAGE_WIDTH, LOGO2_SIDEBOX_IMAGE_HEIGHT));

    //this is optional if you want to use the logo as a link
    //add your link information to the define statement below
    //examples
    //define('LOGO2_SIDEBOX_LINK', '"http://your_link.com/" rel="external" target="_blank"');//only if you want to open in a new window
    //define('LOGO2_SIDEBOX_LINK', '"http://your_link.com/"');//if you want to open in the same window, such as going to your own site's page
    //define('LOGO2_SIDEBOX_LINK', '"index.php?main_page=whatever&amp;id=etc"');//for a link to a page on your site
    define('LOGO2_SIDEBOX_LINK', 'index.php?main_page=index&cPath=1');


    ?>

    logo_sidebox.php
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version: 2.1
    //Updated: 2/13/2010
    //Updated by gjh42 20110517
    //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 2.1 2011-05-17

    // test if box should display
    $show_logo_sidebox = true;

    if ($show_logo_sidebox == true) {
    require($template->get_template_dir('tpl_logo_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_logo_sidebox.php');
    $title = BOX_HEADING_LOGO_SIDEBOX;
    $title_link = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>

    logo2_sidebox.php
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version: 2.1
    //Updated: 2/13/2010
    //Updated by gjh42 20110517
    //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 2.1 2011-05-17

    // test if box should display
    $show_logo2_sidebox = true;

    if ($show_logo2_sidebox == true) {
    require($template->get_template_dir('tpl_logo2_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_logo2_sidebox.php');
    $title = BOX_HEADING_LOGO2_SIDEBOX;
    $title_link = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>

    tpl_logo_sidebox.php
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version: 2.1
    //Updated: 2/13/2010
    //Updated by gjh42 20110517
    //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: tpl_logo_sidebox.php,v 2.1 2011-05-17
    // --------------------------------------------------
    //

    $logo_image = (LOGO_SIDEBOX_LINK == '')? LOGO_IMAGE: '<a href=' . LOGO_SIDEBOX_LINK . '>' . LOGO_IMAGE . '</a>';
    $content = '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . $logo_image . '</div>';


    ?>

    tpl_logo2_sidebox.php
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version: 2.1
    //Updated: 2/13/2010
    //Updated by gjh42 20110517
    //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: tpl_logo_sidebox.php,v 2.1 2011-05-17
    // --------------------------------------------------
    //

    $logo_image = (LOGO2_SIDEBOX_LINK == '')? LOGO2_IMAGE: '<a href=' . LOGO2_SIDEBOX_LINK . '>' . LOGO2_IMAGE . '</a>';
    $content = '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . $logo2_image . '</div>';


    ?>

    Can not figure out why the images are not showing in logo2

    David

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

    Default Re: Logo Sidebox Help

    I'll have to look at it later... too tired to concentrate now:)

 

 

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

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