Page 17 of 21 FirstFirst ... 71516171819 ... LastLast
Results 161 to 170 of 201
  1. #161
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Logo Sidebox Help

    gift_certificates.php as shown has three obsolete settings used in Zen Cart v1.2.x
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;

    but is missing the current setting for
    $title_link = false;
    Thus, $title_link remains from the previous sidebox's setting. In this case, it contains the value set in /includes/modules/sideboxes/reviews.php:
    $title_link = FILENAME_REVIEWS;

    So tpl_box_default_left/right.php does this:
    PHP Code:
      if ($title_link) {
        
    $title '<a href="' zen_href_link($title_link) . '">' $title BOX_HEADING_LINKS '</a>'

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gjh42 View Post
    gift_certificates.php as shown has three obsolete settings used in Zen Cart v1.2.x
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;

    but is missing the current setting for
    $title_link = false;
    Thus, $title_link remains from the previous sidebox's setting. In this case, it contains the value set in /includes/modules/sideboxes/reviews.php:
    $title_link = FILENAME_REVIEWS;

    So tpl_box_default_left/right.php does this:
    PHP Code:
      if ($title_link) {
        
    $title '<a href="' zen_href_link($title_link) . '">' $title BOX_HEADING_LINKS '</a>'
    I'll fix this in the next update.

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gjh42 View Post
    gift_certificates.php as shown has three obsolete settings used in Zen Cart v1.2.x
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;

    but is missing the current setting for
    $title_link = false;
    Thus, $title_link remains from the previous sidebox's setting. In this case, it contains the value set in /includes/modules/sideboxes/reviews.php:
    $title_link = FILENAME_REVIEWS;

    So tpl_box_default_left/right.php does this:
    PHP Code:
      if ($title_link) {
        
    $title '<a href="' zen_href_link($title_link) . '">' $title BOX_HEADING_LINKS '</a>'
    So what you're saying is this is a good excuse to release version 2.0.1

  4. #164
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Quote Originally Posted by clydejones View Post
    I'll fix this in the next update.
    Instead of the next update, can you fix it in the next post, LOL. WTF am I supposed to change now?

    Seriously, though.

    Remove the three statements above and add $title_link = false;

  5. #165
    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
    So what you're saying is this is a good excuse to release version 2.0.1
    I'm saying I'll fix it with the next update.

  6. #166
    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
    Instead of the next update, can you fix it in the next post, LOL. WTF am I supposed to change now?

    Seriously, though.

    Remove the three statements above and add $title_link = false;
    that is correct.

    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;
    remove these:
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;


    add this:
    $title_link = false;

    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>

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

    Default Re: Logo Sidebox Help

    ONE LAST THING and I'm done in this thread and moving to the next one LOL.

    I am centering the images in each box.

    In stylesheet.css I would use these commands?

    #logobox1 {
    text-align: center;
    }

    #logobox2 {
    text-align: center;
    }

    using your example in your previous post on how to properly do the three boxes. what would i put in place of logobox1 and logobox 2?


    ANDDDDDD in one of the boxes I have an external link but I want it to open WITHIN the middle of my site like the others. Is that hard to do?
    Last edited by willie bee; 17 May 2011 at 06:27 AM.

  8. #168
    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 LAST THING and I'm done in this thread and moving to the next one LOL.

    I am centering the images in each box.

    In stylesheet.css I would use these commands?

    #logobox1 {
    text-align: center;
    }

    #logobox2 {
    text-align: center;
    }

    using your example in your previous post on how to properly do the three boxes. what would i put in place of logobox1 and logobox 2?


    ANDDDDDD in one of the boxes I have an external link but I want it to open WITHIN the middle of my site like the others. Is that hard to do?
    #logosideboxContent, #logo2sideboxContent {
    text-align:center;
    }

    external links go to the website/page you are linking to.

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

    Default Re: Logo Sidebox Help

    Ok folks. I got it all up and running and working. Centered images, creating multiple sideboxes with linking logos, working with external links and EZ-Pages. If anyone reading this thread has any questions, feel free to ask me direct or here and I'll do my best to help. I pretty much understand it now.

    Attached is a screen capture. TIA to both Clyde and Glenn.
    Attached Images Attached Images  

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

    red flag Re: Logo Sidebox Help

    Version 2.1 of Logo Sidebox is now available in the downloads section

    This version contains:
    Updated & improved coding
    fixed $title_link bug
    new comprehensive documentation.

 

 
Page 17 of 21 FirstFirst ... 71516171819 ... 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