Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Posts
    6
    Plugin Contributions
    0

    Default Trouble with Blank Sidebox Module

    I'm having trouble with the Blank Sidebox Module. I think it is exactly what I need, but I can't get it to work.
    I want to add images with links to the left column. So, I am trying to create a blank sidebox with an image inside that links to a different page on my website (outside of my zen cart store).

    I added my html code in the correct place that is explained in the installation instructions, but I'm not sure if it's supposed to be coded differently since it's within php?

    Here is the code on the tpl_blank_sidebox.php:

    $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
    $content .= '<p><a href="http://www.lilarice.com/about"><img src="lilarice_about.png" width="150" height="90" border="0"/></a></p>';

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

    Thank you in advance!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Trouble with Blank Sidebox Module

    You'll need to specify a path to where the image is in the <img> statement, like src="images/lilarice_about.png" if it's in the /images folder.

  3. #3
    Join Date
    Apr 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Trouble with Blank Sidebox Module

    I actually just saved it in the same folder:
    includes/templates/my_template/sideboxes

    so I don't need to specify the location, correct?
    But it's still not working!

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Trouble with Blank Sidebox Module

    Quote Originally Posted by taraeng View Post
    I actually just saved it in the same folder:
    includes/templates/my_template/sideboxes

    so I don't need to specify the location, correct?
    Nope. If you want to have the image in that directory (and I don't know why you would) you'll need to specify the path: includes/templates/YOUR_TEMPLATE_NAME/sideboxes/lilarice_about.png.

    Easier to do it my way, think.

  5. #5
    Join Date
    Apr 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: Trouble with Blank Sidebox Module

    YES! THANK YOU !!!!
    p.s. I did do it your way & saved them in the images folder!

 

 

Similar Threads

  1. Trouble with UPS module
    By one tall man in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 29 Feb 2012, 09:56 PM
  2. Trouble with CSS in a New Sidebox
    By THE-EDL in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Dec 2009, 12:30 PM
  3. Trouble With Shopping Cart - blank page
    By kmacey1249 in forum General Questions
    Replies: 11
    Last Post: 18 Oct 2008, 04:34 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