Page 1 of 2 12 LastLast
Results 1 to 10 of 201

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Yep, that did it! Thanks Clyde

    By-the-by; even though we are on different continents, I can always count on you to reply almost instantly no matter what time I post. Do you sleep??

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by MeltDown View Post
    Yep, that did it! Thanks Clyde

    By-the-by; even though we are on different continents, I can always count on you to reply almost instantly no matter what time I post. Do you sleep??

    As necessary or when the urge hits me. li....rig...n...

  3. #3
    Join Date
    Jan 2006
    Location
    Kentwood, Louisiana, United States
    Posts
    117
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    What is a logo sidebox? What logos? Where can I see a sample of this? Where do I find the download?

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

    Default Re: Logo Sidebox Help

    Its a sidebox in which you can place a logo (any logo you choose)

    its available in the downloads section here:

    www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_52&products_id=405

    You can see a sample here: Top Left sidebox

    mysticmountainnaturals.com/testsite/index.php

  5. #5
    Join Date
    Nov 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hi Clyde,

    How can i alter the script to have the link shown in a new page?

    Thanks

    Ilonka

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by ilonka View Post
    Hi Clyde,

    How can i alter the script to have the link shown in a new page?

    Thanks

    Ilonka
    Can you explain exactly what you are trying to accomplish?

  7. #7
    Join Date
    May 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    I would like the logo link to open in a new window. What code needs to be added? I'm assuming it is in the logo_sideboxes_defines.php. Here is my site:
    http://www.gameoverbeyond.com
    I'd like the Retro Arcade Radio link in the top right to open in a new window so visitors can listen while still shopping at my site.
    Also, can I add text to the logo sidebox under the logo? If so, where.
    Ex: Listen While You Shop

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gameoverbeyond View Post
    I would like the logo link to open in a new window. What code needs to be added? I'm assuming it is in the logo_sideboxes_defines.php. Here is my site:
    http://www.gameoverbeyond.com
    I'd like the Retro Arcade Radio link in the top right to open in a new window so visitors can listen while still shopping at my site.
    Also, can I add text to the logo sidebox under the logo? If so, where.
    Ex: Listen While You Shop
    Open includes/languages/english/extra_definitions/YOUR_TEMPLATE/logo_sidebox_defines.php

    Modify this define Statement as indicated by the highlighted portion

    define('LOGO_SIDEBOX_LINK', 'http://www.retroarcaderadio.com/" target="_blank');

    Add This New Define Statement
    define('LOGO_SIDEBOX_INFO_TEXT', '<br />Listen While You Shop');

    Save the file and upload to your server

    Open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

    Find this line of code:

    $content .= $logoimage;
    and immediately below Add This Line

    $content .= LOGO_SIDEBOX_INFO_TEXT;

    Save the file and upload to your server

  9. #9
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    I feel like an idiot that I cannot get this to work...trying to get my image to link (got the image in fine..), I have looked through the forums and cannot see anything I am doing wrong!!!

    Here is my logo_sidebox_defines code:

    define('BOX_HEADING_LOGO_SIDEBOX', 'test');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '150');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '200');
    define('LOGO_SIDEBOX_IMAGE', 'bumper_sticker_ad.jpg');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'test');

    //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://www.andrealevinedesigns.com/pet-bumper-sticker/');

    ?>

    ...and here is the tpl_logo_sidebox 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);

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

    $content .= $logoimage;

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

    ..the site is http://www.andrealevinedesigns.com and the you can see the banner in the lower left....what am I missing to get the link to work to go to the product?!?!?

    Thank you in advance!!!!!!!

    Jill
    Jill || I Love Zen Cart Templates || 2 Dogs Design
    I Love To Help But Let's Keep It Public Please To Help Others!

  10. #10
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Logo Sidebox Help

    Quote Originally Posted by jill8026 View Post
    I feel like an idiot that I cannot get this to work...trying to get my image to link (got the image in fine..), I have looked through the forums and cannot see anything I am doing wrong!!!

    Here is my logo_sidebox_defines code:

    define('BOX_HEADING_LOGO_SIDEBOX', 'test');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '150');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '200');
    define('LOGO_SIDEBOX_IMAGE', 'bumper_sticker_ad.jpg');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'test');

    //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://www.andrealevinedesigns.com/pet-bumper-sticker/');

    ?>

    ...and here is the tpl_logo_sidebox 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);

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

    $content .= $logoimage;

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

    ..the site is http://www.andrealevinedesigns.com and the you can see the banner in the lower left....what am I missing to get the link to work to go to the product?!?!?

    Thank you in advance!!!!!!!

    Jill
    how do I add a hyper-link:
    Open includes/languages/english/extra_definitions/logo_sidebox_defines.php
    Change the highlighted portion to suit you needs.

    define('LOGO_SIDEBOX_LINK', 'http://your_link.com/');

    Now open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

    uncomment this line of code: remove the highlighted portion
    //$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 out this line of code: add the highlighted portion
    //$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT);


    Save everything and upload to your server.
    ##############################___
    Clyde
    Check and make sure all your files are uploading to your server and they are in your custom folders.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 
Page 1 of 2 12 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

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