Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2010
    Posts
    100
    Plugin Contributions
    0

    Default I want to add pictures on the left side of the Page.

    I want to add a Flat Rate Shipping Picture and Payshi.. i mean Paypal logo on the left side of the website.. I believe this is call a sidebox header? That's what confuse me usually header means top.. I think it would be called sidebox lefter...

    I TRY to follow these instructions But it don't make sense

    https://www.zen-cart.com/tutorials/i...hp?article=135

    These are the only two changes there BUT how does it know how to find MY picture's name, there's so many pictures in that folder?

    define('BOX_HEADING_CATEGORIES', 'your_graphic_image.???');


    Do I type in "your_graphic_image.???

    $title = zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, HEADER_ALT_TEXT);

    Do I type all this in? I can find these locations but where do I put my Picture's name in there???

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

    Default Re: I want to add pictures on the left side of the Page.

    The easiest way to do what I think you want to do is install this: http://www.zen-cart.com/index.php?ma...roducts_id=174, and place your images there.

  3. #3
    Join Date
    Jul 2010
    Posts
    100
    Plugin Contributions
    0

    Default Re: I want to add pictures on the left side of the Page.

    Thanks stevesh! I install it the Includes folder in Shop Folder (Shop is where the zencart stuff is) I put it in there and not in Admin folder right? When I click on the shop folder, the admin folder is in there.

    Now what do I do? where do I place the images? How do i place in the images? The instructions suck


    <?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 $
    */

    // test if box should display
    $show_blank_sidebox = true;

    if ($show_blank_sidebox == true) {
    require($template->get_template_dir('tpl_blank_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox.php');
    $title = BOX_HEADING_BLANK_SIDEBOX;
    $title_link = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>

    **************************



    Quote Originally Posted by stevesh View Post
    The easiest way to do what I think you want to do is install this: http://www.zen-cart.com/index.php?ma...roducts_id=174, and place your images there.

  4. #4
    Join Date
    Jul 2010
    Posts
    100
    Plugin Contributions
    0

    Default Re: I want to add pictures on the left side of the Page.

    I wanted to add this in a new post, how do I add new sideboxes Can someone explain that to me in English?



    Adding Several New Sideboxes

    If you adding more than one new sidebox, you will need to do some renaming to avoid clashes. Simply replace all instances of blank_sidebox and BLANK_SIDEBOX in the files and the filenames with your preferred name e.g. logo_sidebox and LOGO_SIDEBOX.

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

    Default Re: I want to add pictures on the left side of the Page.

    Well, technically, that is in English, but what it's saying is that you replace every instance of BLANK_SIDEBOX in all of the files of the mod (including file names) to whatever you want to call the second sidebox. You can use your text editor's Replace function.

    I have a site with eight Blank Sideboxes, and they're named box1, box2, etc.


    You can insert HTML content (including images) in one of two places:

    In includes/languages/english/extra_definitions/blank_sidebox_defines.php where it says, um: Replace this text with your HTML content.

    or in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_blank_sidebox.php where it says 'You can include text ...'

    I usually use the first place.

  6. #6
    Join Date
    Jul 2010
    Posts
    100
    Plugin Contributions
    0

    Default Re: I want to add pictures on the left side of the Page.

    Quote Originally Posted by stevesh View Post


    You can insert HTML content (including images) in one of two places:

    In includes/languages/english/extra_definitions/blank_sidebox_defines.php where it says, um: Replace this text with your HTML content.
    ok, I found this! Now what do I do.. I want to link it to a picture I have in the picture folder or easy way would be to link to a URL..

    so in the "Replace this text with your HTML content" do i do a img src= thing? How do I put that in exactly? thank you!

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

    Default Re: I want to add pictures on the left side of the Page.

    Links are done with anchors:

    <a href="page you want to link to"><img src="path to your image"></img></a>

 

 

Similar Threads

  1. v151 Want to add an image to the left side of my template, preferable in the grey area.
    By SilverHD in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Dec 2013, 05:32 AM
  2. v150 How do I add the same function in the LEFT and RIGHT side boxes?
    By pityocamptes in forum General Questions
    Replies: 3
    Last Post: 31 May 2012, 01:13 PM
  3. how do i remove the categories list on the left side when not on main page?
    By sportssupplements in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Dec 2011, 08:21 AM
  4. How to move the add to cart button to the left side?
    By sharontan in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 10 Dec 2010, 04:58 PM
  5. I want to make the category width wider (left side)
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Oct 2010, 09:30 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