Results 1 to 10 of 201

Hybrid View

  1. #1
    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

  2. #2
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    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?

  3. #3
    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

  4. #4
    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>');
    }

  5. #5
    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"');

  6. #6
    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!

  7. #7
    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?

 

 

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