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.
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.
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);
}
?>
**************************
I wanted to add this in a new post, how do I add new sideboxesCan 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.
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.
Links are done with anchors:
<a href="page you want to link to"><img src="path to your image"></img></a>