Forums / Addon Templates / Free Template "Future Zen"

Free Template "Future Zen"

Locked

Started by kuroi on 14 May 2006, 10:10 PM · Views: 144,200

Results 161 to 180 of 368
This thread is locked. New replies are disabled.
22 Jul 2006, 3:53 AM
#161
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Free Template "Future Zen"

I have a question.

Go here to see it.

There are acouple of sideboxes that do not allow the complete image to show and sometimes not at all.

I have messed with this for hours and it will not change.

If you have any clue what is causing it please tell. Nothing in the css has been changed

Also how do I widen the sidebox and the height so all the categories are sitting inside the box instead on the edge. Also the header keeps dropping down. Wont stay at top. The footer is to the left

Categories
Other Information
Does not show any background or middle images

Thanks in advance.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 6:44 AM
#162
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Free Template "Future Zen"

knuckle-101:

I have a question.

Go here to see it.

There are a couple of sideboxes that do not allow the complete image to show and sometimes not at all.

I have messed with this for hours and it will not change.

If you have any clue what is causing it please tell. Nothing in the css has been changed

Also how do I widen the sidebox and the height so all the categories are sitting inside the box instead on the edge. Also the header keeps dropping down. Wont stay at top. The footer is to the left

Categories
Other Information
Does not show any background or middle images

Thanks in advance.You're right that this is not the CSS. The problem is that the HTML being generated is incomplete for the "Secured", "Categories" and "Other Information" boxes. For example, the categories box HTML should have a line that reads> <div id="categoriesContent" class="sideBoxContent">and it is the missing sideBoxContent class upon which the background is hung, which is why it's not appearing.

The good news is that sideBoxContent isn't just used for the background image - it's used for the sideBox's padding as well, so solve this problem and the positioning of the content will sort itself out too.

So, what's happened? It's all on your server so I can only guess, but I'd take a long hard look at your tpl_categories.php file and whatever files you added to create your secured and infopages boxes. Did you code these yourself, or carry them forward from an earlier version of Zen Cart?

What they're doing isn't catastophic, just slightly wrong and so easily fixable. Though I'd actually recommend using Zen Cart 1.3 facilities for each, i.e. adding you link into the extra current tpl_categories file, using a sidebox banner to hold your godaddy link and using EZ-Pages for your other information links.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Jul 2006, 12:26 PM
#163
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

So what your saying is that the SSL Box, the more information, and the Price are interfering with this template?

As for the tpl.categories.php it is 1.3 as well as rest of the website.

Below is the code

<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart 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_categories.php 3157 2006-03-10 23:24:22Z drbyte $
 */
  $content = "";
  
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  for ($i=0;$i<sizeof($box_categories_array);$i++) {
    switch(true) {
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
//      case ($box_categories_array[$i]['path'] == 'cPath=3'):
//        $new_style = 'category-holiday';
//        break;
      case ($box_categories_array[$i]['top'] == 'true'):
        $new_style = 'category-top';
        break;
      case ($box_categories_array[$i]['has_sub_cat']):
        $new_style = 'category-subs';
        break;
      default:
        $new_style = 'category-products';
      }
     if (zen_get_product_types_to_category($box_categories_array[$i]['path']) == 3 or ($box_categories_array[$i]['top'] != 'true' and SHOW_CATEGORIES_SUBCATEGORIES_ALWAYS != 1)) {
        // skip if this is for the document box (==3)
      } else {
      $content .= '<a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';

      if ($box_categories_array[$i]['current']) {
        if ($box_categories_array[$i]['has_sub_cat']) {
          $content .= '<span class="category-subs-parent">' . $box_categories_array[$i]['name'] . '</span>';
        } else {
          $content .= '<span class="category-subs-selected">' . $box_categories_array[$i]['name'] . '</span>';
        }
      } else {
        $content .= $box_categories_array[$i]['name'];
      }

      if ($box_categories_array[$i]['has_sub_cat']) {
        $content .= CATEGORIES_SEPARATOR;
      }
      $content .= '</a>';

      if (SHOW_COUNTS == 'true') {
        if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {
          $content .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;
        }
      }

      $content .= '<br />' . "\n";
    }
  }

  if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
// display a separator between categories and links
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
      $content .= '<hr id="catBoxDivider" />' . "\n";
    }
    if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
      $show_this = $db->Execute("select s.products_id from " . TABLE_SPECIALS . " s where s.status= 1 limit 1");
      if ($show_this->RecordCount() > 0) {
        $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_SPECIALS) . '">' . CATEGORIES_BOX_HEADING_SPECIALS . '</a>' . '<br />' . "\n";
      }
    }
    if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
      // display limits
      $display_limit = zen_get_products_new_timelimit();

      $show_this = $db->Execute("select p.products_id
                                 from " . TABLE_PRODUCTS . " p
                                 where p.products_status = 1 " . $display_limit . " limit 1");
      if ($show_this->RecordCount() > 0) {
        $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . CATEGORIES_BOX_HEADING_WHATS_NEW . '</a>' . '<br />' . "\n";
      }
    }
    if (SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true') {
      $show_this = $db->Execute("select products_id from " . TABLE_FEATURED . " where status= 1 limit 1");
      if ($show_this->RecordCount() > 0) {
        $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS . '</a>' . '<br />' . "\n";
      }
    }
    if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
      $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>' . "\n";
    }
  }
  $content .= '</div>';
  // define('SHOW_CATEGORIES_BOX_PRICELIST', 'true');  
  if (SHOW_CATEGORIES_BOX_PRICELIST == 'true') {
    $content .= '<br /><a href="' . zen_href_link(FILENAME_PRICELIST) . '">' . CATEGORIES_BOX_HEADING_PRICELIST . '</a>';
  }
?>

As for the rest, I am lost to what your saying.

I tried using the override system but isnt working?

The SSl Logo is a must to show customers that the site is secured.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 1:16 PM
#164
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Free Template "Future Zen"

I suspect that the answer to this problem is in your statement that you tried used the override system but it isn't working. If we can get to the bottom of that, I suspect that we'll be a long way towards solving your problem.

The reason that I believe this is because although you have posted the correct 1.3 code for generating the categories sideBox, it does not appear to be the code actually being used on your Zen Cart. Something is overriding it.

Do you have an includes/templates/future_zen/common directory? If so, please can you tell me the names of the files that you have in there.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Jul 2006, 1:28 PM
#165
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

I didnt mean to confuse you.

However I did have a common directory when it didnt work I deleted it.

The folders I have in there now are

css - your stylesheet code below

images

templates - which include tpl_pricelist_default.php and tpl_modules_product_listing.php

sideboxes - which include tpl_categories.php

pricelist - which include all files needed for the price list.

Thats it.

Now I did create a file in includes/languages/english/future_zen/header.php also includes pricelist.php.

thought this may help but it did not. tried with it and without the header.php all the same.

/**
 * Main CSS Stylesheet
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: stylesheet.css 3215 2006-03-20 06:05:55Z birdbrain $
 */

body {
	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 62.5%;
	color: #000000;
	background-color: #e5edf5;
	}

a img {border: none; }

a:link, #navEZPagesTOC ul li a {
	color: #3300FF;
	text-decoration: none;
	}
 
a:visited {
	color: #3300FF;
	text-decoration: none;
	}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
	color: #FF0000;
	}

a:active {
	color: #0000FF;
	}

h1 {
	font-size: 1.5em;
	}

h2 {
	font-size: 1.4em;
	}

h3 {
	font-size: 1.3em;
	}

h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
	font-size: 1.1em;
	}

.biggerText {
	font-size: 1.2em;
	}

h1, h2, h3, h4, h5, h6 {
	margin: 0.3em;
	}

CODE {
	font-family: arial, verdana, helvetica, sans-serif;
	font-size: 1em;
	}

FORM, SELECT, INPUT {
	display: inline;
	font-size: 1em;
	margin: 0.1em;
	}

TEXTAREA {
	float: left;
	margin: auto;
	display: block;
	width: 95%;
	}

input:focus, select:focus, textarea:focus {
	background: #F0F8FF;
	}

FIELDSET {
	padding: 0.5em;
	margin: 0.5em 0em;
	border: 0px solid #cccccc;
	}

LEGEND {
	font-weight: bold;
	padding: 0.3em;
	}

LABEL, h4.optionName {
	line-height: 1.5em;
	padding: 0.2em;
	}

LABEL.checkboxLabel, LABEL.radioButtonLabel {
	margin: 0.5em 0.3em;
	}

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
	float: left;
	}
	
#logo {
	display:inline;
	margin: 40px 0 0 350px;
}

LABEL.inputLabel {
	width: 11em;
	float: left;
	}

LABEL.inputLabelPayment {
	width: 15em;
	float: left;
	}

LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel  {
	width: 12em;
	float: left;
	}

P, ADDRESS {
	padding: 0.5em;
	}

ADDRESS {
	font-style: normal;
	}

.clearBoth {
	clear: both;
	}

HR {
	height: 1px;
	margin-top: 0.5em;
	border: none;
	border-bottom: 1px solid #9a9a9a;
	}

/*warnings, errors, messages*/
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
	line-height: 1.8em;
	padding: 0.2em;
	border: 1px solid #000000;
	}

.messageStackWarning, .messageStackError {
	background-color: #ff0000;
	color: #ffffff;
	}

.messageStackSuccess {
	background-color: #99FF99;
	color: #000000;
	}

.messageStackCaution {
	background-color: #FFFF66;
	color: #000000;
	}

/*wrappers - page or section containers*/
#mainWrapper {
	background-color: #e5edf5;
	text-align: left;
	width: 90%;
	vertical-align: top;
	}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
	margin: 0em;
	padding: 0em;
	}

#logoWrapper {
	width:100%;
	height:110px;
	background-image:url(../images/header_bg.jpg);
	background-repeat:no-repeat;
	background-position:center;
	}

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
	margin: auto;
	}
	
#tagline {
	padding-top:10px;
	color:#000000;
	font-size: 2em;
	text-align : left;
	vertical-align: middle;
	}

#sendSpendWrapper {
	border: 1px solid #cacaca;
	float: right;
	margin: 0em 0em 1em 1em;
	}

.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
	margin: 0;
	width: 47%;
	}

.wrapperAttribsOptions {
	margin: 0.3em 0em;
	}

/*navigation*/

.navSplitPagesResult {}
.navSplitPagesLinks {}
.navNextPrevCounter {
	margin: 0em;
	font-size: 0.9em;
	}
.navNextPrevList {
	display: inline;
	white-space: nowrap;
	margin: 0;
	padding:  0.5em 0em;
	list-style-type: none;
	}

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #E5EDF5;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 100%;
	}

#navMain ul, #navSupp ul, #navCatTabs ul  {
	margin: 0;
	padding:  0.5em 0em;
	list-style-type: none;
	text-align: center;
	line-height: 1.5em;
	}

#navMain ul li, #navSupp ul li, #navCatTabs ul li {
	display: inline;
	white-space: nowrap;
	}

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
	text-decoration: none;
	padding: 0em 0.5em;
	margin: 0;
	color: #3300ff;
	}

#navEZPagesTOCWrapper {
	font-weight: bold;
	float: right;
	height: 1%;
	border: 1px solid #000000;
	}

#navEZPagesTOC ul {
	margin: 0;
	padding:  0.5em 0em;
	list-style-type: none;
	line-height: 1.5em;
	}

#navEZPagesTOC ul li {
	white-space: nowrap;
	}

#navEZPagesTOC ul li a {
	padding: 0em 0.5em;
	margin: 0;
	}

#navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
	margin: 0.5em;
	}

#navBreadCrumb {
	margin-top:16px;
	font-size: 0.95em;
	font-weight: bold;
	padding: 0.5em 0 0.5em 1.5em;
	}

#navEZPagesTop {
	background-image:url(../images/link_cap_right.gif);
	background-repeat:no-repeat;
	background-position:bottom right;
	font-size: 0.95em;
	font-weight: bold;
	margin: 0em;
	padding: 0.5em 0 0.5em 1.5em;
	}
	
#headerWrapper {
	background-image:url(../images/link_cap_left.gif);
	background-repeat:no-repeat;
	background-position:bottom left;
	}

#navColumnOne, #navColumnTwo {
	background-color: #E5EDF5;
	}


/*The main content classes*/
#contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
	vertical-align: top;
	}

/*.content,*/ #productDescription, .shippingEstimatorWrapper {
	/*font-size: 1.2em;*/
	padding: 0.5em;
	}

.alert {
	color: #FF0000;
	margin-left: 0.5em;
	}
.advisory {}
.important {
	font-weight: bold;
	}
.notice {}
.rating{}
.gvBal {
	float: right;
	}
.centerColumn, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
	padding: 0.8em;
	}

.smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
	font-size: 0.9em;
	}

/*Shopping Cart Display*/
#cartAdd {
	float: right;
	text-align: center;
	margin: 1em;
	border: 1px solid #000000;
	padding: 1em;
	}

.tableHeading TH {
	border-bottom: 1px solid #cccccc;
	}

.tableHeading, #cartSubTotal {
	background-color: #e9e9e9;
	 }

#cartSubTotal {
	border-top: 1px solid #cccccc;
	font-weight: bold;
	text-align: right;
	line-height: 2.2em;
	padding-right: 2.5em;
	}

.tableRow, .tableHeading, #cartSubTotal {
	height: 2.2em;
	}

.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay   {
	padding: 0.5em 0em;
	}

.cartUnitDisplay, .cartTotalDisplay {
	text-align: right;
	padding-right: 0.2em;
	}

#scUpdateQuantity {
	width: 2em;
	}

.cartQuantity {
	width: 4.7em;
	}

.cartNewItem {
	color: #33CC33;
	position: relative;  /*do not remove-fixes stupid IEbug*/
	}

.cartOldItem {
	color: #660099;
	position: relative;   /*do not remove-fixes stupid IEbug*/
	}

.cartBoxTotal {
	text-align: right;
	font-weight: bold;
	}

.cartRemoveItemDisplay {
	width: 3.5em;
	}

#cartAttribsList {
	margin-left: 1em;
	}

#mediaManager {
width: 50%; 
margin: 0.2em;
padding: 0.5em;
}
.normalprice, .productSpecialPriceSale {
	text-decoration: line-through;
	}

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
	color: #ff0000;
	}

#cartBoxListWrapper ul, #ezPageBoxList ul {
	list-style-type: none;
	}

#cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
	margin: 0;
	padding: 0.2em 0em;
	} 

.totalBox {
	width: 5.5em;
	text-align: right;
	padding: 0.2em;
	}

.lineTitle, .amount {
	text-align: right;
	padding: 0.2em;
	}

.amount {
	width: 5.5em;
	}

/*Image Display*/
#productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
	margin: 0em 1em 1em 0em ;
	}

.categoryIcon {}
#cartImage {
	margin: 0.5em 1em;
	}

/*Attributes*/
.attribImg {
	width: 20%;
	margin: 0.3em 0em;
}

.attributesComments {}

/*list box contents*/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
	margin: 1em 0em;
	}

/*sideboxes*/
.columnLeft {}

h3.leftBoxHeading, h3.leftBoxHeading a, h3.leftBoxHeading label, h3.rightBoxHeading, h3.rightBoxHeading a, h3.rightBoxHeading label {
	font-size: 1em;
	color: #ffffff;
	}
	
h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover{
	color: #FFFF33;
	text-decoration: none;
	} 

.leftBoxHeading, .rightBoxHeading {
	margin: 0;
	background-image:url(../images/sidebox_header_bg.gif);
	background-repeat:no-repeat;
	padding: 0.5em 0.2em;
	}

.centerBoxWrapper {
	margin: 0;
	background-image:url(../images/title_cap_left.gif);
	background-repeat:no-repeat;
	background-position:top left;
	}

.centerBoxHeading {
	margin: 0;
	height:32px;
	background-image:url(../images/title_cap_right.gif);
	background-repeat:no-repeat;
	background-position:top right;
	padding: 0.5em 0.2em;
	}

.leftBoxContainer, .rightBoxContainer {
	margin-top: 1.5em;
	}

.sideBoxContent {
	background-image:url(../images/sidebox_content_bg.gif);
	background-repeat:no-repeat;
	background-position:bottom;
	padding: 0.4em;
	}

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
	text-align: center;
	}

#bestsellers .wrapper {
	margin: 0em 0em 0em 1.5em;
	}

#bestsellers ol {
	padding: 0;
	margin-left: 1.1em;
	}

#bestsellers li {
	padding: 0;
	margin: 0.3em 0em 0.3em 0em;
	}

#bannerboxHeading {
	background-color: #0000CC;
}

#upProductsHeading {
	text-align: left;
	}

#upDateHeading {
	text-align: right;
	}

/*misc*/
.back {
	float: left;
	}

.forward {
	float: right;
	}

.bold {
	font-weight: bold;
	}

.rowOdd {
	background-color: #E8E8E8;
	height: 1.5em;
	vertical-align: top;
	}

.rowEven {
	background-color: #F0F0F0;
	height: 1.5em;
	vertical-align: top;
	}

CAPTION {
	/*display: none;*/
	}

#myAccountGen li, #myAccountNotify li {
	margin: 0;
	} 

.accountTotalDisplay, .accountTaxDisplay {
	width: 20%;
	text-align: right;
	/*vertical-align: top*/
	}

.accountQuantityDisplay {
	width: 10%;
	vertical-align: top
	}

TR.tableHeading {
	background-color: #cacaca;
	height: 2em;
	}

#siteMapList {
	width: 90%;
	float: right;
	}

.ratingRow {
	margin: 1em 0em 1.5em 0em;
	}

LABEL#textAreaReviews {
	font-weight: normal;
	margin: 1em 0em;
	}

#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp {
	background-color: #ffffff;
	}

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 1:32 PM
#166
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

I have created a temporarly login into the ftp folders if you rather look at it directly for easier navigation.

If you want the login please permit me to send the information via pm.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 4:02 PM
#167
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Free Template "Future Zen"

knuckle-101:

I have created a temporarly login into the ftp folders if you rather look at it directly for easier navigation.

If you want the login please permit me to send the information via pm.Firstly apologies. When I asked about the files in your common directory, I meant sideboxes directory. Fortunately you gave me that anyway.

I've now taken a look at the three sidebox template files that are playing up. Each doesn't quite work because they weren't designed for v1.3 of Zen Cart. Happily there's a single solution that should work for all of them.

As suspected you are overriding the tpl_categories.php from template default with one that appears to be part of a price list add-in that pre-dates version 1.3. Your file needs the line in red inserted at the top// adapted for pricelist v1.04, 2005/09/06 paulm $content = ""; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n"; for ($i=0;$i<sizeof($box_categories_array);$i++) {and the line in green inserted at the bottom} $content .= '</div>'; ?>You may also want to find the following in your stylesheet and increase the padding a little bit. 0.8em usually works well for me```
.sideBoxContent {
background-image:url(../images/sidebox_content_bg.gif);
background-repeat:no-repeat;
background-position:bottom;
padding: 0.4em;
}


The godaddy box is similar. The template_default/sideboxes/tpl_godaddy.php file pre-dates the current version of Zen Cart by some months and if it the one that GoDaddy are still supplying they need a bit of a kick. I'm also a bit curious as to how this came to be added to your template_default - was this a GoDaddy installation? Anyway back to the main point, the file is very short and needs to be explanded to read```
<?php
  $content = "";
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<center><script language="Javascript" src="https://seal.godaddy.com/getSeal?sealID=1597513789036ad5ba21271076bf93d2217ee004139541846387158396"></script></center>';
  $content .= '</div>'; 
?>
```If you don't cut and paste the whole lot, please make sure that you insert the rather important period added early in the original line.

Finally the The template_default/sideboxes/tpl_infopages,php is also a tad long in the tooth. It's also some some odd (apparently redundant code). I recommend adding the lines in green and deleting the lines in red```
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  for ($i=1; $i<=sizeof($page_query_list); $i++) {
    $content .= '<div align="left">';
    
    if($page_query_list[$i]['alt_url'] != '') {
      $content .= '<a href="' . zen_href_link($page_query_list[$i]['alt_url'], '', 'NONSSL', true, true, true) . '">' . $page_query_list[$i]['name'] . '</a>';
    }
    else {
      $content .= '<a href="' . zen_href_link(FILENAME_INFOPAGES, 'pages_id=' . $page_query_list[$i]['id']) . '">' . $page_query_list[$i]['name'] . '</a>';    
    }
    $content .= '</div>';    
  }
  $content .= '';
  $content .= '</div>'; 
?>
```The first solution has been tested, the other two haven't but should work. If you have any problems with them - let me know.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Jul 2006, 6:27 PM
#168
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

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

not sure if you mean bottom of the file or the line?

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 6:30 PM
#169
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

I tried both and got this

Parse error: syntax error, unexpected T_FOR in /home/norman/public_html/includes/templates/future_zen/sideboxes/tpl_categories.php on line 24

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 6:32 PM
#170
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

knuckle-101:

I tried both and got this

Parse error: syntax error, unexpected T_FOR in /home/norman/public_html/includes/templates/future_zen/sideboxes/tpl_categories.php on line 24



Disregard last messages, fixed it

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 6:38 PM
#171
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Free Template "Future Zen"

It goes at the bottom of the file, immediately before the final ?>

The error message though relates to the lines just under the header comment block. Could you post the code between the header comment block and the comment block a few lines below it?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Jul 2006, 6:42 PM
#172
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

kuroi:

It goes at the bottom of the file, immediately before the final ?>

The error message though relates to the lines just under the header comment block. Could you post the code between the header comment block and the comment block a few lines below it?

I added as you said to the top

// adapted for pricelist v1.04, 2005/09/06 paulm
  $content = "";
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  for ($i=0;$i<sizeof($box_categories_array);$i++) {

and to the bottom of the file right after the last }

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

removing the extra } did the job.

For that now on to the next one

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 7:25 PM
#173
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

now I get this in the godaddy.php file

Warning: main(includes/templates/template_default/sideboxes/tpl_godaddy.php): failed to open stream: No such file or directory in /home/norman/public_html/includes/modules/sideboxes/godaddy.php on line 3

Warning: main(includes/templates/template_default/sideboxes/tpl_godaddy.php): failed to open stream: No such file or directory in /home/norman/public_html/includes/modules/sideboxes/godaddy.php on line 3

Warning: main(includes/templates/template_default/sideboxes/tpl_godaddy.php): failed to open stream: No such file or directory in /home/norman/public_html/includes/modules/sideboxes/godaddy.php on line 3

Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_godaddy.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/norman/public_html/includes/modules/sideboxes/godaddy.php on line 3

not sure what is the problem I pasted what you did here is the code

<?php
  $content = "";
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<center><script language="Javascript" src="https://seal.godaddy.com/getSeal?sealID=1597513789036ad5ba21271076bf93d2217ee004139541846387158396"></script></center>';
  $content .= '</div>'; 
?>

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 7:27 PM
#174
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

ok uploaded to the template_default directory sideboxes and works!!

Does this template support over ride?

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 7:29 PM
#175
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

after all said and done, what needs to be done abotu the footer from aligning left?

think thats about it!!

thanks

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 7:48 PM
#176
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Free Template "Future Zen"

The problem with the footer alignment is the same as it was for the sideboxes, i.e. using code written for an earlier version of Zen Cart. In this case you have replaced the 1.3 footer with a table that does not have the classes that 1.3 uses for formatting its version of the footer. Specifically you would need to add something like the following to your stylesheet> .footerbottom {text-align:center}and yes, the future Zen template does support Zen Cart overrides :yes:

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Jul 2006, 8:33 PM
#177
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

kuroi:

The problem with the footer alignment is the same as it was for the sideboxes, i.e. using code written for an earlier version of Zen Cart. In this case you have replaced the 1.3 footer with a table that does not have the classes that 1.3 uses for formatting its version of the footer. Specifically you would need to add something like the following to your stylesheetand yes, the future Zen template does support Zen Cart overrides :yes:

Did you notice if you sit on the site for a minute or so the header drops down?

I look for a code that might be doing it but the header.php is the current 1.3 header file.

Any ideas, this is the last and most important part after this it should be finished.

thanks

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 9:03 PM
#178
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Free Template "Future Zen"

Yeah. Like you can sit there for a minute watching a site waiting for it drop down. I certainly couldn't, just had the move the mouse a bit, and then not only did the site take a tumble, the penny dropped too.

This is a problem with your Image Handler configuration. What's happening is that the hover images from the products in the center panel aren't floating elegantly over the top of that panel, they're going to the top left and pushing the whole page down.

This is best viewed in Firefox, as the offending images are invisible in Internet Explorer and Opera, but rather more obvious in Firefox. There is a separate support thread for Image Handler and I'd recommend taking this problem over there for Tim (the author) to take a look at (if there's not a solution already in that thread)

Just to rub salt into the cross-browser conpatibility wound, you have a flash movie in your center panel, but it only shows in Internet Explorer - not Firefox or Opera.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

22 Jul 2006, 9:43 PM
#179
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

thanks, the site is complete. However just wondering if possible.

What part oft he css would I edit or add to make it have borders around the products so they can be columned and read more descret?

Thanks for all your help

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

22 Jul 2006, 10:20 PM
#180
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Free Template "Future Zen"

knuckle-101:

thanks, the site is complete. However just wondering if possible.

What part oft he css would I edit or add to make it have borders around the products so they can be columned and read more descret?

Thanks for all your help

DISREGARD FIGURED IT AS WELL

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered