OK i see the man is here to help so I will just be quit. :blink:
Printable View
OK i see the man is here to help so I will just be quit. :blink:
:smile:Quote:
OK i see the man is here to help so I will just be quit.
No need to be quiet silly--all help is always appreciated!!!!! I just knew this was something "weird"....I have been building sites with zen for about 3 years so I am pretty well versed...and I couldnt figure this simple thing out.....glad it turned out to be something I wouldnt have found anyway!!!!
Thanks Clyde...my bolded part above was in reference to your quote above where you mentioned deleting the second options as a temporary measure only?Quote:
I just checked the site and for some reason the second option above is replacing the link option.
It doesn't appear that it has been commented out properly.
You could (as a temporary measure only) delete that second option completely to see if that fixes the problem.
Sounds like removing that part might be an issue if you are saying it can only be removed temporarily?!? If it is OK without it then I will leave it alone since it seems to be working fine!!!
Hi
I have read through all the posts in this thread and havent found what im looking for. I hope this is the right place to ask. I would like to know how to remove the stying from my logo sidebox. My logo shows.... but it has the same styling as my other side boxes How can i remove the styling from this box only. I dont want any padding or header around it.
Thank you in advance
Hi i just installed this mod, and my image displays great. I want it to link to another website, but iam unsure how to uncomment & comment the following file. Do i delete something??? Tried deleting the "//" but it than messes up my home page. Am i doing something wrong? Please advise thanks :bigups: Thanks
<?php
//
//Contribution: Logo Sidebox
//Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
//Version: 1.1
//Updated: 8/21/2008
//License: under the GPL - See attached License for info.
//Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
//Support: Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
// --------------------------------------------------
// zen-cart Open Source E-commerce
// Copyright (c) 2003-2006 The zen-cart developers
// http://www.zen-cart.com/index.php
// Portions Copyright (c) 2003 osCommerce
// --------------------------------------------------
// $Id: tpl_logo_sidebox.php,v 1.1 8/21/2008
// --------------------------------------------------
//
// Link Option - uncomment this if you intend to use the logo as a link
//$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT) . '</a>';
//comment this out if you use the above link option.
$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT);
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
$content .= $logoimage;
$content .= '</div>';
?>
Remove/delete these//$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT) . '</a>';
//comment this out if you use the above link option.
add these //$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT);