Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default blank sidebox image

    sorry for having such a basic question, im sure its something im missing. But I can't get the image to show up inside the sidebox.

    Heres the code. I know for sure that the location is correct, but is there something i need to add for php?

    <?php
    /**
    * blank sidebox - allows a blank sidebox to be added to your site
    *
    * @package templateSystem
    * @copyright 2007 Kuroi Web Design
    * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
    */
    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    // Replace the text and HTML tags between the apostophes on lines 19 and 20.
    // Use as many or as few lines using this model as you need for your custom content.
    // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
    // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
    $content .= '<p><a href="http://www.OptimumSSL.com" title="SSL Certificate Authority" style="font-family: arial; font-size: 10px; text-decoration: none;"><img src="../images/seals/optimumSSL_tl_white2.gif" alt="SSL Certificate Authority" border="0"></img> <br/>SSL Certificate Authority</a>';
    $content .= '';
    $content .= '</div>';
    ?>

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: blank sidebox image

    When I enter http://www.OptimumSSL.com/images/sea..._tl_white2.gif into my browser I get a 404 error page but http://www.OptimumSSL.com is not a Zen Cart install....

    So what is your Zen Cart store url?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: blank sidebox image


  4. #4
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: blank sidebox image

    no wait, i actually have to save the picture according to them, upload it and display it.

    The ../images/seals/optimum is where the file is located on the server

    Thats in the img src tag

    Just to make sure links were cool, i even changed to this. I also changed the image name, and put in the same folder with the side box file.

    // Replace the text and HTML tags between the apostophes on lines 19 and 20.
    // Use as many or as few lines using this model as you need for your custom content.
    // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
    // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
    $content .= '<img src="optimum.gif">';
    $content .= '';

    $content .= '</div>';
    Last edited by nutritionmp; 8 Jun 2007 at 06:06 PM.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: blank sidebox image

    Just to make sure links were cool, i even changed to this. I also changed the image name, and put in the same folder with the side box file.
    Get the image file and upload it to includes/templates/classic/images folder

    then use this as your src:
    Code:
    src="../images/optimumSSL_tl_white2.gif"
    And then when you get this sorted - read about "creating your own template" and do it!
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: blank sidebox image

    Still didn't work, just always displays as a red x. I'll turn the feature off for now

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: blank sidebox image

    Download one of the modules for this sidebox in the downlods/other section or the sidebox section like for the GoDaddy SSL or the COMODO SSL to see what you are missing
    Zen-Venom Get Bitten

  8. #8
    Join Date
    May 2007
    Location
    Brighton/Hove/Sussex
    Posts
    144
    Plugin Contributions
    0

    Default Re: blank sidebox image

    Quote Originally Posted by kobra View Post
    When I enter http://www.OptimumSSL.com/images/sea..._tl_white2.gif into my browser I get a 404 error page but http://www.OptimumSSL.com is not a Zen Cart install....

    So what is your Zen Cart store url?
    Quote Originally Posted by nutritionmp View Post
    Still didn't work, just always displays as a red x. I'll turn the feature off for now
    Just a thought, but is your site where the images are allowing you to have them accessed from another web site, thats what it looks like from what I have read.
    My sites dont allow that (or thats what my choice of setting is) its to stop leeching of images by others using YOUR images & bandwidth to suupport their site.
    This may be why you are getting the red X.

    Then it might be something simple. Some servers are very picky about Upper&lower CAse filenames.
    Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
    Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
    Appreciate Zen-Cart? - Always keep a banner link on your shop

  9. #9
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: blank sidebox image

    I think your option 1 may have been right. Cause the file names were perfect to the dotted I's and crossed t's. I worked it out though, now i just need to get it centered.

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: blank sidebox image

    Try adding this to your stylesheetc.css file
    Code:
    #blanksideboxContent {
    text-align: center;
    }
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Blank Sidebox Image Won't Show
    By jsmith1611 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 1 Aug 2009, 11:59 AM
  2. Replies: 4
    Last Post: 13 Jul 2009, 01:57 AM
  3. Image Rotator in Blank Sidebox
    By Berserker in forum Basic Configuration
    Replies: 4
    Last Post: 9 Feb 2008, 06:33 PM
  4. Blank sidebox 1.1 image question
    By Maxx409 in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 20 Apr 2007, 07:05 PM
  5. Blank Sidebox image
    By miles in forum Basic Configuration
    Replies: 1
    Last Post: 17 Mar 2007, 12:05 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