Page 11 of 19 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 184
  1. #101
    Join Date
    May 2008
    Posts
    354
    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,039
    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,044
    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,039
    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,044
    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,039
    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 19 FirstFirst ... 910111213 ... LastLast

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
  •