Page 15 of 21 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 201
  1. #141
    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

  2. #142
    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.

  3. #143

    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!

  4. #144
    Join Date
    May 2006
    Location
    Louisiana
    Posts
    263
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    When I click check link I get this message:

    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/content/w/e/e/weezee/html/xxxxxx_admin/links.php on line 625


    I am running Zen Cart v1.3.8a. I reuploading all the links manager files, before that, the line was 623

  5. #145
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,504
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Clyde,

    I am trying to change box header of the sidebox I couldn't remember where it was can you able to help me?

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by bkeaton View Post
    Clyde,

    I am trying to change box header of the sidebox I couldn't remember where it was can you able to help me?
    includes/languages/english/extra_definitions/YOUR_TEMPLATE/logo_sidebox_defines.php

  7. #147
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hey there I got this working and the logo shows up BUT when I used the optional 'use the logo as a link' the logo doesn't show up but the link works, if you can find it by hovering around the box until you can click somehting.

    Here is what I have so far.
    define('BOX_HEADING_GIFT_CERTIFICATES', '');

    //Logo number 1
    define('GIFT_CERTIFICATES_IMAGE_WIDTH', '125');
    define('GIFT_CERTIFICATES_IMAGE_HEIGHT', '125');
    define('GIFT_CERTIFICATES_IMAGE', 'gift_certificates.jpg');
    define('GIFT_CERTIFICATES_IMAGE_TEXT', 'Gift Certificates');
    define('LOGO_IMAGE', zen_image($template->get_template_dir(GIFT_CERTIFICATES_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . GIFT_CERTIFICATES_IMAGE, GIFT_CERTIFICATES_IMAGE_TEXT, GIFT_CERTIFICATES_IMAGE_WIDTH, GIFT_CERTIFICATES_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('GIFT_CERTIFICATES_LINK', '" rel="external" target="_blank"');

    define('GIFT_CERTIFICATES_LINK', 'index.php?main_page=index&cPath=3718');

    //DO NOT edit below this line

    if (GIFT_CERTIFICATES_LINK == '') {
    define('LOGO_IMAGES', LOGO_IMAGE);
    }else {
    define('LOGO_IMAGES', '<a href="' . GIFT_CERTIFICATES_LINK . '>' . LOGO_IMAGE . '</a>');
    }

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by willie bee View Post
    Hey there I got this working and the logo shows up BUT when I used the optional 'use the logo as a link' the logo doesn't show up but the link works, if you can find it by hovering around the box until you can click somehting.

    Here is what I have so far.
    define('BOX_HEADING_GIFT_CERTIFICATES', '');

    //Logo number 1
    define('GIFT_CERTIFICATES_IMAGE_WIDTH', '125');
    define('GIFT_CERTIFICATES_IMAGE_HEIGHT', '125');
    define('GIFT_CERTIFICATES_IMAGE', 'gift_certificates.jpg');
    define('GIFT_CERTIFICATES_IMAGE_TEXT', 'Gift Certificates');
    define('LOGO_IMAGE', zen_image($template->get_template_dir(GIFT_CERTIFICATES_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . GIFT_CERTIFICATES_IMAGE, GIFT_CERTIFICATES_IMAGE_TEXT, GIFT_CERTIFICATES_IMAGE_WIDTH, GIFT_CERTIFICATES_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('GIFT_CERTIFICATES_LINK', '" rel="external" target="_blank"');

    define('GIFT_CERTIFICATES_LINK', 'index.php?main_page=index&cPath=3718');

    //DO NOT edit below this line

    if (GIFT_CERTIFICATES_LINK == '') {
    define('LOGO_IMAGES', LOGO_IMAGE);
    }else {
    define('LOGO_IMAGES', '<a href="' . GIFT_CERTIFICATES_LINK . '>' . LOGO_IMAGE . '</a>');
    }
    add the highlighted portion as indicated

    define('GIFT_CERTIFICATES_LINK', 'index.php?main_page=index&cPath=3718"');

  9. #149
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Awesome. If I didn't have this problem, this thread would've never been bumped so, it worked out!

  10. #150
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    One more weird thing. When you click on the logo it is fine. It goes to the page where it is supposed to.

    But the header text where it says Gift Certificates [MORE]. When you click it, it takes you to the Reviews page. I have my Reviews box up above.

    Weird?

 

 
Page 15 of 21 FirstFirst ... 51314151617 ... 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