Results 1 to 10 of 201

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    California
    Posts
    236
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    I can't get this to work in the sidebox.
    http://<!-- PayPal Logo --><table border="0" cellpadding="10" cellspacing="0" align="center"><tr>
    <td align="center"></td></tr><tr><td align="center"><a href="#" onclick="javascript:window.open
    ('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no,
    location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');">
    <img src="https://www.paypal.com/en_US/i/bnr/vertical_solution_PPeCheck.gif" border="0" alt="Solution Graphics">
    </a></td></tr></table><!-- PayPal Logo -->/');
    I need to put the logo for paypal in it and this is the verifying link.

    Thanks for any help you can give.

  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 BigAl49 View Post
    I can't get this to work in the sidebox.

    I need to put the logo for paypal in it and this is the verifying link.

    Thanks for any help you can give.
    Where are you trying to enter this information?

  3. #3
    Join Date
    Mar 2010
    Location
    California
    Posts
    236
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    That is the link information that is listed on PayPal for that image.

    I want customers to be able to verify that I am a Verified Seller.

  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 BigAl49 View Post
    That is the link information that is listed on PayPal for that image.

    I want customers to be able to verify that I am a Verified Seller.
    Have you looked at the "paypal verified logo" sidebox available in the downloads section.

    I'm suggesting that because you'll need to break down the information you have so it will conform to the way the logo sidebox is set up.

    in other words it needs to go into the following defines from logo sidebox:

    Code:
    define('BOX_HEADING_LOGO_SIDEBOX', '');
    
    //Logo number 1
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '125');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '125');
    define('LOGO_SIDEBOX_IMAGE', 'logo_test.jpg');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'My Logo');
    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
    //example
    //define('LOGO_SIDEBOX_LINK', 'http://your_link.com/" rel="external" target="_blank"');
    
    define('LOGO_SIDEBOX_LINK', '');
    
    //DO NOT edit below this line
    
    if (LOGO_SIDEBOX_LINK == '') {
    define('LOGO_IMAGES', LOGO_IMAGE);
    }else {
    define('LOGO_IMAGES', '<a href="' . LOGO_SIDEBOX_LINK . '>' . LOGO_IMAGE . '</a>');
    }

  5. #5
    Join Date
    Mar 2010
    Location
    California
    Posts
    236
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    I installed it and couldn't get it to work properly.

    I'll continue to try in the morning.

    Thanks, BigAl

  6. #6
    Join Date
    Mar 2010
    Location
    California
    Posts
    236
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Got it!

    Replaced it with the PayPal Sidebox and it works great.

    Thanks to both of you.

  7. #7

    Idea or Suggestion Re: Logo Sidebox Help

    For those trying to add the Paypal link to the Logo sidebox I finally discovered how to do it!

    Go to your defines file (logo_sidebox_defines.php) where you define LOGO_SIDEBOX_LINK

    Now you will notice your when you define the link you use a single quote to enclose the link
    define('LOGO_SIDEBOX_LINK', 'http://your_link.com/');

    The problem is that the paypal link also has single quotes in it, so as soon as the sidebox sees the second single quote, it assumes the define is closed.

    So, to include single quotes in your define, PHP code requires you to put a backslash "\" before each single quote. This way it "ignores" that single quote as being the end of the define

    So your define will go from
    '#" onclick="javascript:window.open
    ('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no,
    location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');'

    to

    '#" onclick="javascript:window.open(\'https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside\',\'olcwhatispaypal\',\'toolbar=no,location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350\');'

    Note that this is just for the Paypal href LINK ONLY. You will still need a defined image for the sidebox and the image sitting in my template\image directory.

    Hope this helps people!

 

 

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