Page 16 of 21 FirstFirst ... 61415161718 ... LastLast
Results 151 to 160 of 201
  1. #151
    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
    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?
    According to this, you don't have a sidebox header:

    define('BOX_HEADING_GIFT_CERTIFICATES', '');

  2. #152
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Quote Originally Posted by clydejones View Post
    According to this, you don't have a sidebox header:

    define('BOX_HEADING_GIFT_CERTIFICATES', '');
    Yeah I put it in afterwards

    define('BOX_HEADING_GIFT_CERTIFICATES', '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>');
    }

    //

  3. #153
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    I think I am making this more difficult that it is but I am making three side logo boxes.

    I noticed that when I created a second one the same image appeared for both boxes even though I typed in a different image name.

    Here is what I did for one as an example and even went and changed what you said not to change in the file.

    gift_certificated_defines.php

    define('BOX_HEADING_GIFT_CERTIFICATES', 'Gift Certificates');

    //Logo number 1
    define('GIFT_CERTIFICATES_IMAGE_WIDTH', '150');
    define('GIFT_CERTIFICATES_IMAGE_HEIGHT', '150');
    define('GIFT_CERTIFICATES_IMAGE', 'gift_certificates.jpg');
    define('GIFT_CERTIFICATES_IMAGE_TEXT', 'Gift Certificates');
    define('GIFT_CERTIFICATES_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('GIFT_CERTIFICATES_IMAGES', GIFT_CERTIFICATES_IMAGE);
    }else {
    define('GIFT_CERTIFICATES_IMAGES', '<a href="' . GIFT_CERTIFICATES_LINK . '>' . GIFT_CERTIFICATES_IMAGE . '</a>');
    }




    gift_certificates.php

    $show_gift_certificates = true;

    if ($show_gift_certificates == true) {
    require($template->get_template_dir('tpl_gift_certificates.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_gift_certificates.php');
    $title = BOX_HEADING_GIFT_CERTIFICATES;
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>


    tpl_gift_certificates.php

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

    $content .= GIFT_CERTIFICATES_IMAGES;

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

    I did the same for the other boxes, changing the wording to make diff boxes and this is what I get for the images

    the links, but the top text heading link goes to the review page
    Attached Images Attached Images  

  4. #154
    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
    I think I am making this more difficult that it is but I am making three side logo boxes.

    I noticed that when I created a second one the same image appeared for both boxes even though I typed in a different image name.

    Here is what I did for one as an example and even went and changed what you said not to change in the file.

    gift_certificated_defines.php

    define('BOX_HEADING_GIFT_CERTIFICATES', 'Gift Certificates');

    //Logo number 1
    define('GIFT_CERTIFICATES_IMAGE_WIDTH', '150');
    define('GIFT_CERTIFICATES_IMAGE_HEIGHT', '150');
    define('GIFT_CERTIFICATES_IMAGE', 'gift_certificates.jpg');
    define('GIFT_CERTIFICATES_IMAGE_TEXT', 'Gift Certificates');
    define('GIFT_CERTIFICATES_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('GIFT_CERTIFICATES_IMAGES', GIFT_CERTIFICATES_IMAGE);
    }else {
    define('GIFT_CERTIFICATES_IMAGES', '<a href="' . GIFT_CERTIFICATES_LINK . '>' . GIFT_CERTIFICATES_IMAGE . '</a>');
    }




    gift_certificates.php

    $show_gift_certificates = true;

    if ($show_gift_certificates == true) {
    require($template->get_template_dir('tpl_gift_certificates.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_gift_certificates.php');
    $title = BOX_HEADING_GIFT_CERTIFICATES;
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>


    tpl_gift_certificates.php

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

    $content .= GIFT_CERTIFICATES_IMAGES;

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

    I did the same for the other boxes, changing the wording to make diff boxes and this is what I get for the images

    the links, but the top text heading link goes to the review page
    What are the listings for your second sideox

  5. #155
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    wherever you see GIFT_CERTIFICATES it was change to PAYPAL_EXTRAS_MASTERCARD

    and vice cersa for gift_certificates in lower case.

    and I'm using the newest one off your site, not off the downloads section.

  6. #156
    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
    wherever you see GIFT_CERTIFICATES it was change to PAYPAL_EXTRAS_MASTERCARD

    and vice cersa for gift_certificates in lower case.

    and I'm using the newest one off your site, not off the downloads section.
    I'm not sure where this is coming from
    Gift Certificates [MORE]

    since you haven't define the [MORE] for the heading.

    define('BOX_HEADING_GIFT_CERTIFICATES', 'Gift Certificates');

    I can only guess that one or more of the preceding sideboxes has not been properly implemented.

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by clydejones View Post
    I'm not sure where this is coming from
    Gift Certificates [MORE]

    since you haven't define the [MORE] for the heading.

    define('BOX_HEADING_GIFT_CERTIFICATES', 'Gift Certificates');

    I can only guess that one or more of the preceding sideboxes has not been properly implemented.
    I have double and triple checked the files and they seem right. Have you personally tried this out trying to run two boxes at the same time on a test site? Maybe there is something that you may have missed.

    Hey you never know. I could be right.

  8. #158
    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
    I have double and triple checked the files and they seem right. Have you personally tried this out trying to run two boxes at the same time on a test site? Maybe there is something that you may have missed.

    Hey you never know. I could be right.
    As a matter of fact, Yes. Actually 3 logo sideboxes.

    You can see them here ( clydedesigns.com/designdemo/index.php )

    They're three on the right just after the important links box.

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by clydejones View Post
    As a matter of fact, Yes. Actually 3 logo sideboxes.

    You can see them here ( clydedesigns.com/designdemo/index.php )

    They're three on the right just after the important links box.
    Do you have detailed instructions on how in case someone else wants to do this besides me? I didn't see any in any previous posts unless I missed it.

  10. #160
    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
    Do you have detailed instructions on how in case someone else wants to do this besides me? I didn't see any in any previous posts unless I missed it.
    To clone this sidebox you would rename these files

    includes/languages/english/extra_definitions/YOUR_TEMPLATE/logo_sidebox_defines.php
    includes/modules/sideboxes/YOUR_TEMPLATE/logo_sidebox.php
    includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

    to the following:

    includes/languages/english/extra_definitions/YOUR_TEMPLATE/logo2_sidebox_defines.php
    includes/modules/sideboxes/YOUR_TEMPLATE/logo2_sidebox.php
    includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo2_sidebox.php

    The contents of the files would similarly be renamed to reflect the logo2 designation.

    logo2_sidebox_defines.php
    Code:
    define('BOX_HEADING_LOGO2_SIDEBOX', '');
    
    //Logo number 1
    define('LOGO2_SIDEBOX_IMAGE_WIDTH', '128');
    define('LOGO2_SIDEBOX_IMAGE_HEIGHT', '128');
    define('LOGO2_SIDEBOX_IMAGE', 'label_new_red.png');
    define('LOGO2_SIDEBOX_IMAGE_TEXT', 'My Logo two');
    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
    //example
    //define('LOGO2_SIDEBOX_LINK', 'http://your_link.com/" rel="external" target="_blank"');
    
    define('LOGO2_SIDEBOX_LINK', '');
    
    //DO NOT edit below this line
    
    if (LOGO2_SIDEBOX_LINK == '') {
    define('LOGO2_IMAGES', LOGO2_IMAGE);
    }else {
    define('LOGO2_IMAGES', '<a href="' . LOGO2_SIDEBOX_LINK . '>' . LOGO2_IMAGE . '</a>');
    }
    logo2_sidebox.php
    Code:
    // 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;
          require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
     }
    tpl_logo2_sidebox.php
    Code:
      $content = '';
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
      $content .=  LOGO2_IMAGES;
    
      $content .= '</div>';

 

 
Page 16 of 21 FirstFirst ... 61415161718 ... 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