Hi Jade, I noticed a couple of small things that don't look quite right with Apple Zen Template in these two pages: (signed into the cart as a customer)
On the address book page...
http://www.horse-logos.com/address_book.html
There needs to be just a little more space between the address on the left and the paragraphs on the right. Second paragraph is almost touching the zip code in the address.
And on the Write a Review page there is no space between the words: 'Written by:" and the name of the person. Also on this same page the radio buttons don't line up with the rating stars.
How do I go about fixing these issues? Thanks!
Hi Jade - I'm having a conflict with a newly installed module in Apple Zen. I don't have this conflict in my standard template that I use for another site, which is also running 1.3.6. (I know - I should upgrade)
The module is shopping_cart_with_image_sidebox_1.0
With the module-included tpl_shopping_cart.php installed, all of the text and contents of shopping_cart.php are squeezed into the sidebox. (it ain't pretty!)
This is hardly an earth-shatteringly important module but if there is an easy fix, I'll sure take it!
Site in questions is PittiVintage - Link below. (however, the offending module is not installed)
Thanks - Tim
Thx for that small fix, I however have decided to roleback a little as its a little byond my skills to redesign product info totally![]()
I do however seem to have an issue with a few side boxes when I enable them, which are categories and cart, they both as you can see allign to the right edge.
http://www.elwyns-services.co.uk/deals/
I have uploaded enhanced categories mod which highlights the problem more, as I was hopeing to mod this contribution to look like the tabbed horizontal menus.
The problem is showing with or without enhanced categories contribution.
Any thoughts on this problem plz.![]()
#1) (categories) Remove the padding for the categories:
#categoriesContent {
text-align:left;
padding-left:15px;
}
#2) (cart) I only see the total right aligned, but to get the total centered, you can change the text align of .cartBoxTotal to center, as below:
.cartBoxTotal {
text-align:center;
font-weight:bold;
}
OK - I've uploaded the offending file, which is conflicting with shopping_cart.php in Apple Zen only. (I don't have this conflict in my standard template that I use for another site, which is also running 1.3.6.)
Just put an item in the shopping cart to view the glitch.
PittiVintage
The entire module consists of one .php file (tpl_shopping_cart.php) which is placed in:
I'll include it's contents here for easy viewing:Code:/public_html/includes/templates/apple_zen/sideboxes/
Code:<?php /** * Side Box Template * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cartt Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_shopping_cart.php 3056 2006-02-21 06:41:36Z birdbrain $ */ $content =""; if ($_SESSION['cart']->count_contents() > 0) { $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; $content .= '<div id="cartBoxListWrapper">' . "\n" . '<ul>' . "\n"; $products = $_SESSION['cart']->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { $content .= '<li>'; if (($_SESSION['new_products_id_in_cart']) && ($_SESSION['new_products_id_in_cart'] == $products[$i]['id'])) { $content .= '<span class="cartNewItem">'; } else { $content .= '<span class="cartOldItem">'; } $content .= $products[$i]['quantity'] . BOX_SHOPPING_CART_DIVIDER . '</span><a href="' . zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']) . '">'; if (($_SESSION['new_products_id_in_cart']) && ($_SESSION['new_products_id_in_cart'] == $products[$i]['id'])) { $content .= '<span class="cartNewItem">'; } else { $content .= '<span class="cartOldItem">'; } $content .= zen_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], IMAGE_SHOPPING_CART_WIDTH, IMAGE_SHOPPING_CART_HEIGHT) . '<br>' . $products[$i]['name'] . '</span></a></li>' . "\n"; if (($_SESSION['new_products_id_in_cart']) && ($_SESSION['new_products_id_in_cart'] == $products[$i]['id'])) { $_SESSION['new_products_id_in_cart'] = ''; } } $content .= '</ul>' . "\n" . '</div>'; } else { $content = '<div class="sideBoxContent center bold">' . BOX_SHOPPING_CART_EMPTY . '</div>'; } if ($_SESSION['cart']->count_contents() > 0) { $content .= '<hr />'; $content .= '<div class="cartBoxTotal">' . $currencies->format($_SESSION['cart']->show_total()) . '</div>'; $content .= '<br class="clearBoth" />'; } if (isset($_SESSION['customer_id'])) { $gv_query = "select amount from " . TABLE_COUPON_GV_CUSTOMER . " where customer_id = '" . $_SESSION['customer_id'] . "'"; $gv_result = $db->Execute($gv_query); if ($gv_result->fields['amount'] > 0 ) { $content .= '<div id="cartBoxGVButton" class="sideBoxContent"><a href="' . zen_href_link(FILENAME_GV_SEND, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_SEND_A_GIFT_CERT , BUTTON_SEND_A_GIFT_CERT_ALT) . '</a></div>'; $content .= '<div class="sideBoxContent center bold">' . VOUCHER_BALANCE . $currencies->format($gv_result->fields['amount']) . '</div>'; } $content .= '</div>'; } ?>
Thanks!![]()
Jade, thank you very much for them annoying fixed to my cats![]()
Could I ask how the right column is increased in size, I have altered them from 150 in admin but nothing happens.
I have tried changing this in css but big changes to center![]()
#navColumnTwo, #navColumnOne {
float:right;
position:relative;
width:20%;
Also this to match:
#centerColumnWrapper2{
background:url(../images/content_bg.gif) repeat-y 80% 0;
If the design isnt meant to do this no probs just would like to have category counts on.
Thx again Jade much appreciated.
Ok, this is doable, but it gets a tad complicated.
So, you can change #navColumnTwo, #navColumnOne to:
#navColumnTwo, #navColumnOne {
float:right;
position:relative;
width:25%;
The you'd need to decrease the width of .centerColumn to 5% LESS, so change it from 73% to 68%.
Then, you'd need to adjust the image. Right now, 20% of the image is gray, 80% is white. If you want the categories to take up 25%, then 25% of the image needs to be gray, 75% white.
Then after editing the image, you'd change #centerColumnWrapper2 to this:
#centerColumnWrapper2{
background:url(../images/content_bg.gif) repeat-y 75% 0;
HTH!
This module is missing a closing </div>. Makes a bigger difference on apple zen than other templates because apple zen has floats. This mod was affecting ALL of your pages, not just the shopping cart page. Change the second to last line of that code above to:
$content .= '</div></div>';