Results 1 to 10 of 13

Hybrid View

  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,755
    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?

  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,755
    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!

  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,755
    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

 

 

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

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