Results 1 to 10 of 201

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Thansk for the Logo Sidebox mod it is great and working perfectly- It currently has an image which when clicked opens a new window that plays a short video-However, what I really want is for the click to open up a small pop up window that contains the video- Any ideas how I can achieve that?

    Thanks

    Andy

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by andycole View Post
    Thansk for the Logo Sidebox mod it is great and working perfectly- It currently has an image which when clicked opens a new window that plays a short video-However, what I really want is for the click to open up a small pop up window that contains the video- Any ideas how I can achieve that?

    Thanks

    Andy
    This thread may give you some ideas.

    Also do a search for popups and/or popup windows

  3. #3
    Join Date
    Oct 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Thanks for the references- I have looked, but they dont give me specific instructions regardinga sidebox? I dont know where to put the Javasccript etc- Is it in the sdebox php file??

    Thanks

    Andy

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by andycole View Post
    Thanks for the references- I have looked, but they dont give me specific instructions regardinga sidebox? I dont know where to put the Javasccript etc- Is it in the sdebox php file??

    Thanks

    Andy
    In order to do what you are trying to achieve would require re-writing the entire contribution or creating a completely different contribution.

  5. #5
    Join Date
    Jan 2009
    Posts
    30
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hi Clyde,
    I've recently installed the logo sidebox - with a couple of teething problems that i managed to rectify, but now i've hit a brick wall!

    I intend to have the 'FSB' and 'Link-Up' logos - but the 'no picture' i can't seem to see why this is appearing!

    Any help appreciated!

    www.sunplastics.co.uk/shop

    Kev

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by kvwlls View Post
    Hi Clyde,
    I've recently installed the logo sidebox - with a couple of teething problems that i managed to rectify, but now i've hit a brick wall!

    I intend to have the 'FSB' and 'Link-Up' logos - but the 'no picture' i can't seem to see why this is appearing!

    Any help appreciated!

    www.sunplastics.co.uk/shop

    Kev
    Can you post the contents of the following files:

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

    includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

  7. #7
    Join Date
    Jan 2009
    Posts
    30
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    With pleasure:

    <?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_defines.php,v 1.1 8/21/2008

    define('BOX_HEADING_LOGO_SIDEBOX', '');
    define('LOGO_SIDEBOX1_IMAGE_WIDTH', '125');
    define('LOGO_SIDEBOX1_IMAGE_HEIGHT', '152');
    define('LOGO_SIDEBOX1_IMAGE', 'FSB.gif');
    define('LOGO_SIDEBOX1_IMAGE_TEXT', 'Member of FSB');
    define('LOGO_SIDEBOX1_LINK', 'http://www.fsb.org.uk/');

    define('LOGO_SIDEBOX2_IMAGE_WIDTH', '125');
    define('LOGO_SIDEBOX2_IMAGE_HEIGHT', '125');
    define('LOGO_SIDEBOX2_IMAGE', 'link-up.jpg');
    define('LOGO_SIDEBOX2_IMAGE_TEXT', 'Approved Link-Up Supplier');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX2_LINK', 'http://www.link-up.co.uk/');

    ?>

    AND

    <?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: tpl_logo_sidebox.php,v 1.1 8/21/2008
    // --------------------------------------------------
    //
    // Link Option - uncomment this if you intend to use the logo as a link

    $logoimage1 = '<a href="' . LOGO_SIDEBOX1_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX1_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX1_IMAGE, LOGO_SIDEBOX1_IMAGE_TEXT, LOGO_SIDEBOX1_IMAGE_WIDTH, LOGO_SIDEBOX1_IMAGE_HEIGHT) . '</a>';

    //comment this out if you use the above link option.
    //$logoimage1 = zen_image($template->get_template_dir(LOGO_SIDEBOX1_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX1_IMAGE, LOGO_SIDEBOX1_IMAGE_TEXT, LOGO_SIDEBOX1_IMAGE_WIDTH, LOGO_SIDEBOX1_IMAGE_HEIGHT);

    $logoimage2 = '<a href="' . LOGO_SIDEBOX2_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX2_IMAGE, LOGO_SIDEBOX2_IMAGE_TEXT, LOGO_SIDEBOX2_IMAGE_WIDTH, LOGO_SIDEBOX2_IMAGE_HEIGHT) . '</a>';

    //comment this out if you use the above link option.
    //$logoimage2 = zen_image($template->get_template_dir(LOGO_SIDEBOX2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX2_IMAGE, LOGO_SIDEBOX2_IMAGE_TEXT, LOGO_SIDEBOX2_IMAGE_WIDTH, LOGO_SIDEBOX2_IMAGE_HEIGHT);

    $content .= '<br />' . $logoimage1;
    $content .= '<br />' . $logoimage2;

    //$content = '';
    // $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';

    // $content .= $logoimage;

    // $content .= '</div>';
    ?>

    Thanks!

 

 

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