Page 11 of 21 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 201
  1. #101
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Thanks works great

    D'oh add and remove huh, cant believe it was so stright forward.

    Again thanks Clyde

  2. #102
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Please I need help...

    hi,

    I really like this side box...and i have put some effort into making it appropriate for my site....

    I ran into an issue with it..hoping someone can help me out...

    you can look at this post for my original headache with this side box... ( http://www.zen-cart.com/forum/showthread.php?t=140542 )

    after many hours of frustration i finally realized it was this side box that was affecting my site...
    but to make a VERY long story short..there is a zen cart conflict in the side box that prevent any categories with products inside from loading when clicked on from the category navigation pane.

    After installing a debugger (thanks to the advice of DrByte) I was able to isolate what internal error message zen cart was generating in reference to my issue...
    i hope some one can tell me wat edits i need to make in this logo side box file to fix this issue...

    here is the debugger error message...

    [30-Oct-2009 20:37:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/craverep/public_html/includes/languages/english/extra_definitions/theme198/logo_sidebox_defines.php:49) in /home/craverep/public_html/includes/functions/functions_general.php on line 44

    here is my code in logo_sidebox_defines.php :

    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version: 1.1
    //Updated: 8/21/2008
    //License: under the GPL - See attached License for info.
    //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
    //Support: Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
    // --------------------------------------------------
    // zen-cart Open Source E-commerce
    // Copyright (c) 2003-2006 The zen-cart developers
    // http://www.zen-cart.com/index.php
    // Portions Copyright (c) 2003 osCommerce
    // --------------------------------------------------
    // $Id: logo_sidebox_defines.php,v 1.1 8/21/2008

    define('BOX_HEADING_LOGO_SIDEBOX', '');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '212');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '80');
    define('LOGO_SIDEBOX_IMAGE', 'test_logo.jpg');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Shop Our Jordan Collection');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX_LINK', 'http://360urbanwear.com/index.php?main_page=index&cPath=24_72');


    define('LOGO_SIDEBOX2_IMAGE_WIDTH', '212');
    define('LOGO_SIDEBOX2_IMAGE_HEIGHT', '80');
    define('LOGO_SIDEBOX2_IMAGE', 'test_logo2.jpg');
    define('LOGO_SIDEBOX2_IMAGE_TEXT', 'Shop Our Nike Collection');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX2_LINK', 'http://360urbanwear.com/index.php?main_page=index&cPath=24_73');


    define('LOGO_SIDEBOX3_IMAGE_WIDTH', '212');
    define('LOGO_SIDEBOX3_IMAGE_HEIGHT', '80');
    define('LOGO_SIDEBOX3_IMAGE', 'test_logo3.jpg');
    define('LOGO_SIDEBOX3_IMAGE_TEXT', 'Shop Our Nike SB Dunk High / Low Collection');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX3_LINK', 'http://360urbanwear.com/index.php?main_page=index&cPath=24_73_181');
    ?>

    Here is the Zen Cart code from " in /home/craverep/public_html/includes/functions/functions_general.php on line 44"

    line 38-Line 47 of code:

    // clean up URL before executing it
    while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
    while (strstr($url, '&amp;&amp;')) $url = str_replace('&amp;&amp;', '&amp;', $url);
    // header locates should not have the &amp; in the address it breaks things
    while (strstr($url, '&amp;')) $url = str_replace('&amp;', '&', $url);

    header('Location: ' . $url);

    zen_exit();
    }

    there is something about the code in logo_sidebox_defines.php that line 44 "header('Location: ' . $url);" does not like...

    i would appreciate any help. thanks.

  3. #103
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    i got it guys...thanks
    The error was being cased by two extra lines at the end of one of my side box files....

    man talk about sensitive stuff here....

  4. #104
    Join Date
    Nov 2009
    Posts
    34
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hi Friends,

    I m new to Zencart. I wanna add new sidebox menu. how can i do it.

    Thanks
    Vivek

  5. #105
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Quote Originally Posted by vivek_advsol View Post
    Hi Friends,

    I m new to Zencart. I wanna add new sidebox menu. how can i do it.

    Thanks
    Vivek
    welcome....

    a word of advise....if you want help please be as specific as possible unless your just going to end up coming back to find responses like this asking you to be more specific.

    What are you trying to accomplish...? have you already found a side box and are having problems installing it? MOST of the popular and useful side boxes have very detailed installation instructions.

    here is where you can find a good amount of zen cart FREE side boxes...

    http://www.zen-cart.com/index.php?ma...ex&cPath=40_52

    to get there...all you have to do is go to http://www.zen-cart.com/ and then click on "Free Software Add Ons" at the top.

    hope that helps....

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by vivek_advsol View Post
    Hi Friends,

    I m new to Zencart. I wanna add new sidebox menu. how can i do it.

    Thanks
    Vivek
    What type of "sidebox menu"?

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

    Default Re: Logo Sidebox Help

    I have got my image in the box but no link what am I doing wrong.

  8. #108
    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
    I have got my image in the box but no link what am I doing wrong.
    have you configured includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

    in order to handle the link?



    Code:
    // Link Option - uncomment this if you intend to use the logo as a link
    
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . 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) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = 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);

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by clydejones View Post
    have you configured includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

    in order to handle the link?



    Code:
    // Link Option - uncomment this if you intend to use the logo as a link
    
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . 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) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = 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 what I have in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php
    Code:
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version:  1.1
    //Updated: 8/21/2008
    //License: under the GPL - See attached License for info.
    //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
    //Support:  Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
    //  --------------------------------------------------
    //  zen-cart Open Source E-commerce                                      
    //  Copyright (c) 2003-2006 The zen-cart developers                           
    //  http://www.zen-cart.com/index.php                                    
    //  Portions Copyright (c) 2003 osCommerce                               
    //  --------------------------------------------------
    // $Id: tpl_logo_sidebox.php,v 1.1 8/21/2008
    //  --------------------------------------------------
    //
    // Link Option - uncomment this if you intend to use the logo as a link
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT); 
    
      $content = '';
        $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
      $content .=  $logoimage;
    
      $content .= '</div>';
    ?>

  10. #110
    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
    This what I have in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php
    Code:
    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version:  1.1
    //Updated: 8/21/2008
    //License: under the GPL - See attached License for info.
    //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
    //Support:  Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
    //  --------------------------------------------------
    //  zen-cart Open Source E-commerce                                      
    //  Copyright (c) 2003-2006 The zen-cart developers                           
    //  http://www.zen-cart.com/index.php                                    
    //  Portions Copyright (c) 2003 osCommerce                               
    //  --------------------------------------------------
    // $Id: tpl_logo_sidebox.php,v 1.1 8/21/2008
    //  --------------------------------------------------
    //
    // Link Option - uncomment this if you intend to use the logo as a link
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT); 
    
      $content = '';
        $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
      $content .=  $logoimage;
    
      $content .= '</div>';
    ?>
    it should look like this:

    Code:
    //
    // Link Option - uncomment this if you intend to use the logo as a link
    $logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
    
    //comment this out if you use the above link option.
    // $logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT); 
    
      $content = '';
        $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
      $content .=  $logoimage;
    
      $content .= '</div>';
    ?>

 

 
Page 11 of 21 FirstFirst ... 910111213 ... 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