Zen Cart Logo
Forums / Addon Templates / Apple Zen Support Thread

Apple Zen Support Thread

Views: 855,511

Results 341 to 360 of 3,042
15 Mar 2007, 5:56 AM
#342
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

err, I would have to see the issue in action.

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:

/public_html/includes/templates/apple_zen/sideboxes/

I'll include it's contents here for easy viewing:

<?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! :thumbsup:

15 Mar 2007, 7:56 AM
#343
easypcs avatar

easypcs

New Zenner

Join Date:
Nov 2006
Posts:
27
Plugin Contributions:
0

Re: Apple Zen Support Thread

Jade, thank you very much for them annoying fixed to my cats:thumbsup:

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:cry:

#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.

15 Mar 2007, 11:54 AM
#344
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

MeltDown:

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:

/public_html/includes/templates/apple_zen/sideboxes/

> 
> I'll include it's contents here for easy viewing:
> 
> ```
<?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! :thumbsup:

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>';

15 Mar 2007, 11:59 AM
#345
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

easypcs:

Jade, thank you very much for them annoying fixed to my cats:thumbsup:

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:cry:

#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!

15 Mar 2007, 12:17 PM
#346
awfulsouls avatar

awfulsouls

New Zenner

Join Date:
Mar 2007
Location:
England
Posts:
1
Plugin Contributions:
0

Re: Apple Zen Support Thread

First of all - thanks for a stunning template :D

Second - I've tried everything, but I can't get the sideboxes to show at all,
and I have no clue what I'm doing wrong.
I'm running 1.3.7 and everything else works just fine :)

C.

15 Mar 2007, 3:04 PM
#347
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

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>';

Thanks Jade - I've made the suggested change but see no visual affect. The glitch still glitches, as you can see...
PittiVintage

Here's the updated 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></div>';
  }
?>
15 Mar 2007, 11:25 PM
#348
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

Awfulsouls:

First of all - thanks for a stunning template :D

Second - I've tried everything, but I can't get the sideboxes to show at all,
and I have no clue what I'm doing wrong.
I'm running 1.3.7 and everything else works just fine :)

C.

Make sure both right and left are on globally, under "Configuration", then "Layout Settings":

Column Left Status - Global 1
Column Right Status - Global 1

15 Mar 2007, 11:31 PM
#349
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

MeltDown:

Thanks Jade - I've made the suggested change but see no visual affect. The glitch still glitches, as you can see...
PittiVintage

Here's the updated 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></div>'; } ?>

Ok, try changing:

$currencies->format($_SESSION['cart']->show_total()) . '</div>';
$content .= '<br class="clearBoth" />';


to:

$currencies->format($_SESSION['cart']->show_total()) . '</div>';
$content .= '<br class="clearBoth" /></ div>';


The issue of the missing div may not be the mod itself, but an issue with the way I have the sideboxes set up. But adding the closing div above should address the issue.
15 Mar 2007, 11:58 PM
#350
kuroi avatar

kuroi

Totally Zenned

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

Re: Apple Zen Support Thread

MeltDown:

With the module-included tpl_shopping_cart.php [from shopping cart sidebox with images] 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!Hi Tim

As I previously sent you to Jade for an answer on an Apple Zen-specific question, I hope that Jade won't mind if I leap in to address a question which is not specific to Apple Zen.

I believe that the problem you have arises arises as a result of version 1.0 of the sidebox shopping cart with image mod being based on a buggy version of the standard sidebox shopping cart and therefore carrying these bugs forward. Jade was right about it opening one too many divs, but under different circumstances it could, at least in theory, close more divs than are open.

The Zen Cart bugs were fixed in version 1.3.6 (I believe) and I have reworked the mod with that solution and submitted it as a contribution. Look out for version 1.1 which, fingers crossed, is hopefully the easy fix that you would leap at.

16 Mar 2007, 7:15 AM
#351
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Ok, try changing:

$currencies->format($_SESSION['cart']->show_total()) . '</div>';
$content .= '<br class="clearBoth" />';

> 
> to:
> ```
$currencies->format($_SESSION['cart']->show_total()) . '</div>';
$content .= '<br class="clearBoth" /></ div>';

The issue of the missing div may not be the mod itself, but an issue with the way I have the sideboxes set up. But adding the closing div above should address the issue.

Hmmm... There doesn't seem to be any visible change after adding the suggested code. You can view the results here:
PittiVintage

And below is the updated code:

Thanks - Tim

<?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" /></ div>';
  }

  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></div>';
  }
?>
16 Mar 2007, 8:38 AM
#352
kuroi avatar

kuroi

Totally Zenned

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

Re: Apple Zen Support Thread

MeltDown:

Hmmm... There doesn't seem to be any visible change after adding the suggested code.The corrected mod can be downloaded here.

16 Mar 2007, 12:01 PM
#353
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

MeltDown:

Hmmm... There doesn't seem to be any visible change after adding the suggested code. You can view the results here:
PittiVintage

And below is the updated code:

Thanks - Tim

That's cause of my typo, the </ div> should be </div>

Anyway, follow kuroi's advice and update the shopping cart with image mod to 1.1.

16 Mar 2007, 12:20 PM
#354
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

That's cause of my typo, the </ div> should be </div>

Anyway, follow kuroi's advice and update the shopping cart with image mod to 1.1.

Beautiful - Works like a charm! I re-installed this mod in both my Apple Zen cart and my standard template cart (both 1.3.6) without problems.

Kuroi & Jade, thanks to both of you for your assistance - Tim

16 Mar 2007, 12:53 PM
#355
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Apple Zen Support Thread

A quick question: Under the heading "Information" in the sidebox: (Admin/tools/layout box controller) How do I set the sort order for this list?

Thanks!

16 Mar 2007, 1:30 PM
#356
kuroi avatar

kuroi

Totally Zenned

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

Re: Apple Zen Support Thread

MeltDown:

A quick question: Under the heading "Information" in the sidebox: (Admin/tools/layout box controller) How do I set the sort order for this list?There is now an entry in the FAQ that explains how to do this.

16 Mar 2007, 1:45 PM
#357
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Apple Zen Support Thread

kuroi:

There is now an entry in the FAQ that explains how to do this.

Wonderfully simple! Thanks for the tip -

That takes care of information.php in the sidebox but I see that the dropdown (flyout?) information list remains unchanged. I assume that the procedure would be the same but where is that file located?

Thanks again!

16 Mar 2007, 3:34 PM
#358
imageriot avatar

imageriot

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

Re: Apple Zen Support Thread

Hi jettrue, thankyou for such a lovely and easily customisable template, with the help of the forum I have almost got my site looking exactly how I want it, the only problem I'm having is centralising #navCatTabs. It currently snaps to the left side of the screen and I cant find a workaround via css, I assume that if I can find the div I can simply add <center> tags like I have done for a few other areas, I just cannot find the div, any ideas?

16 Mar 2007, 4:14 PM
#359
imageriot avatar

imageriot

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

Re: Apple Zen Support Thread

Just to clarify, im not reffering to css, its easily found there, im talking about the actual div, I assumed it would be defined in tpl_header.php or tpl_main_page.php but I cant see it there.

sorry there isnt a link to the site but I'm working from a testing server

thanks in advanced

Rory

16 Mar 2007, 8:37 PM
#360
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

MeltDown:

Wonderfully simple! Thanks for the tip -

That takes care of information.php in the sidebox but I see that the dropdown (flyout?) information list remains unchanged. I assume that the procedure would be the same but where is that file located?

Thanks again!

That would be includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php