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

Apple Zen Support Thread

Views: 855,389

Results 261 to 280 of 3,042
2 Mar 2007, 3:44 PM
#261
meltdown avatar

meltdown

Totally Zenned

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

Apple Zen Support Thread

jettrue:

You did that part right, but didn't make the css changes I mentioned in the original thread. :smile:

Oppsss... I knew I forgot something!!:lookaroun

2 Mar 2007, 5:40 PM
#262
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

Jade - Originally I had posted this question in the Zen forum under General questions to try and give you a break but I've been directed back to you. :no:
Sorry, I just can't seem to give you a break.

If possible, I would like to hide the sideboxes on the main page only. To this end I placed the following code into tpl_main_page.php:

  if ($this_is_home_page == true) {
    $flag_disable_left = true;
    $flag_disable_right = true;
  } 

It works, as the sideboxes are hidden on that page. However, the items on that page are all pulled to the right. It sounds as though this may be an Apple Zen conflict. Is there any way to achieve this desired result in Apple Zen?

Thanks again,

Tim

2 Mar 2007, 5:53 PM
#263
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

Oppss...! Here's the link to the site in question:

PittiVintage

2 Mar 2007, 6:08 PM
#264
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:

Jade - Originally I had posted this question in the Zen forum under General questions to try and give you a break but I've been directed back to you. :no:
Sorry, I just can't seem to give you a break.

If possible, I would like to hide the sideboxes on the main page only. To this end I placed the following code into tpl_main_page.php:

if ($this_is_home_page == true) {
$flag_disable_left = true;
$flag_disable_right = true;
}

> 
> It works, as the sideboxes are hidden on that page. However, the items on that page are all pulled to the right. It sounds as though this may be an Apple Zen conflict. Is there any way to achieve this desired result in Apple Zen?
> 
> Thanks again, 
> 
> Tim

Hi Tim,

No, I'm glad you've been posting, the issues you've been having have brought to light some issues I've been having with the template. And I've NOW figured out how to get the code right so people should not keep having the same extra </div> or missing an </div> issues they've been having.

I have a new tpl_main_page.php for you. (Attached as a txt file). Within the attached file, I've also set up the code so the site checks if it is the home page and the sideboxes won't show up if it is.

As for the issue of the page pulling to the right, you could style this with zen cart 1.3.7's new home page only css tag, #indexHomeBody. However I notice on your home page's source, it has:

<body id="indexBody">
INSTEAD OF
<body id="indexHomeBody">

Are you not using 1.3.7?

If you are using 1.3.7, and we get that fixed, you could put this in your css:

#indexHomeBody .centerColumn {
width: 95%!important;
float: left!important;
}

you'd also have to add this:

#indexHomeBody #centerColumnWrapper2 {
background:#ffffff!important;
}

to get the entire home page's background white, instead of white/grey.
2 Mar 2007, 6:19 PM
#265
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

No, I'm running 1.3.6 - What does that do to your recomendation? Can I still go ahead and give your suggestions a try?

2 Mar 2007, 6:26 PM
#266
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:

No, I'm running 1.3.6 - What does that do to your recomendation? Can I still go ahead and give your suggestions a try?

You can try, but if in the source, it doesn't say:

<body id="indexHomeBody">

The css I gave you won't work only for the home page. Go ahead and try with the new tpl_main_page.php text file I uploaded, and take a look at your home page source.

We can probably figure out some way around it, but I'd recommend 1.3.7 anyway.

2 Mar 2007, 6:38 PM
#267
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:

You can try, but if in the source, it doesn't say:

<body id="indexHomeBody">

The css I gave you won't work only for the home page. Go ahead and try with the new tpl_main_page.php text file I uploaded, and take a look at your home page source.

We can probably figure out some way around it, but I'd recommend 1.3.7 anyway.

I'm running out the door to meet friends for dinner but I've quick slapped down that new tpl_main and it looks good. The source says:

<body id="indexHomeBody"> And the sideboxes are hidden.

PittiVintage

Believe me, I'd like to bump-up to 1.3.7 but upgrading is yet another thing I've yet to learn!!

2 Mar 2007, 10:33 PM
#268
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

jdickson:

(Please see screenshot)

  1. How do I remove the "padding" below the logo and the navigation?

  2. How do I make the background go all the way to the bottom of the page. Right now I just use: filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#ff2400', startColorstr='#ffd800', gradientType='0'); for the gradient. I know that's not the best way to do the gradient, so any suggestions I welcome very much.

Screenshot:
http://63.135.100.160/screenshot.png

Site:
http://63.135.100.160/store

Thanks!!

Hi there!

Ok, it looks like you're suffering with the error with my template. I've updated this template, so re-download it, and upload tpl_main_page.php, and also follow the instructions I gave here:

http://www.zen-cart.com/forum/showpost.php?p=337227&postcount=258

As far as the gradient, I have no idea on how to work with gradients in that manner. I would suggest a real background image. This post may help with setting up a background image that goes all the way down.

http://www.zen-cart.com/forum/showpost.php?p=336284&postcount=244

3 Mar 2007, 3:50 PM
#269
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:

Hi Tim,

for the issue of the page pulling to the right, you could style this with zen cart 1.3.7's new home page only css tag, #indexHomeBody. However I notice on your home page's source, it has:

<body id="indexBody"> INSTEAD OF <body id="indexHomeBody">

Are you not using 1.3.7?

If you are using 1.3.7, and we get that fixed, you could put this in your css:

#indexHomeBody .centerColumn {
width: 95%!important;
float: left!important;
}

you'd also have to add this:

#indexHomeBody #centerColumnWrapper2 {
background:#ffffff!important;
}

to get the entire home page's background white, instead of white/grey.

Beautiful! All recomedations worked like a charm, despite the fact I'm running 1.3.6. Thanks!!

PittiVintage

Question concerning your earlier recomendation to alter the color of content_bg.gif so as to change the background color of the center section: Using Photoshop I've attempted to change the color but have been unsuccessful. This is odd because I do this sort of thing all the time. Any idea why this particular image would be difficult to alter? It just won't seem to take the new color, no matter what color I select. I've also saved it as a .jpg and a .psd and attempted the change but again without success. :wacko: Could the fact that it is an extremely thin image play into it?

Again, thanks for those earlier recomendations - This template rocks and I really appreciate you taking your time to help me fine-tune.

Tim

3 Mar 2007, 7:39 PM
#270
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:

Beautiful! All recomedations worked like a charm, despite the fact I'm running 1.3.6. Thanks!!

PittiVintage

Question concerning your earlier recomendation to alter the color of content_bg.gif so as to change the background color of the center section: Using Photoshop I've attempted to change the color but have been unsuccessful. This is odd because I do this sort of thing all the time. Any idea why this particular image would be difficult to alter? It just won't seem to take the new color, no matter what color I select. I've also saved it as a .jpg and a .psd and attempted the change but again without success. :wacko: Could the fact that it is an extremely thin image play into it?

Again, thanks for those earlier recomendations - This template rocks and I really appreciate you taking your time to help me fine-tune.

Tim

Glad to hear that its working for you.

When you open the image in photoshop, do you first change it to RGB color? (Image, Mode, RGB Color)

3 Mar 2007, 9:38 PM
#271
defluxx avatar

defluxx

New Zenner

Join Date:
Apr 2005
Location:
NJ
Posts:
34
Plugin Contributions:
0

Re: Apple Zen Support Thread

Can you please help me out with this. On my product listing, the "Qty Discounts New Price" box is farther down than I would like it to be. I would like it moved up to be in line with the "Add to cart", in fact, if I could move the "tell a friend" button up as well, that would be nice too!

Here is a screenshot: http://enchantingdream.com/example.jpg

Here is a link to the page itself:
http://www.enchantingdream.com/Testsite/index.php?main_page=product_info&cPath=240_250&products_id=4853

Thanks

3 Mar 2007, 9:47 PM
#272
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:

Glad to hear that its working for you.

When you open the image in photoshop, do you first change it to RGB color? (Image, Mode, RGB Color)

:laugh: Sometimes I can't see the forest for the trees! Thanks, Jade, that was indeed the missed step.

3 Mar 2007, 9:48 PM
#273
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

DeFluxx:

Can you please help me out with this. On my product listing, the "Qty Discounts New Price" box is farther down than I would like it to be. I would like it moved up to be in line with the "Add to cart", in fact, if I could move the "tell a friend" button up as well, that would be nice too!

Here is a screenshot: http://enchantingdream.com/example.jpg

Here is a link to the page itself:
http://www.enchantingdream.com/Testsite/index.php?main_page=product_info&cPath=240_250&products_id=4853

Thanks

First, remove the margin:1em from the #cartAdd section of your stylesheet.

Then open up includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php and remove the:
<br class="clearBoth">

that is right before:

<!--eof Product details list -->

See if that's closer to what you'd like.

4 Mar 2007, 5:54 AM
#274
duxfield avatar

duxfield

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

Re: Apple Zen Support Thread

Hi Jade,

I got your PM and based on your other responses this is what I've done:

  • updated my tpl_main_page.php by using the file from thread #261
  • removed <h1 id="indexDefaultHeading"> </h1> from my tpl_index_default.php.
  • removed <div id="centerColumnOuter"></div> from tpl_main_page.php
  • Added my background color to #headerWrapper in the stylesheet
  • plus I fixed the spelling mistakles in my main image (doh!) and changed the highlight colour on the menu navigation.
  • You might want to know that you have a spelling mistake on this line in menuheader.php as well:
    define('HEADER_TITLE_DISCOUNT_COUPON','Discout Coupons');

This has fixed all my issues (thank you so much!) except the following:

  • I still have a little bit of white padding between the main image and the bottom border graphic.
  • On a lot of pages the text blocks seem to be tabbed to the right. For example if you go to the Shipping Info under Information you will see that the block of text is pushed over to the right hand side. This happens on most of the pages with text on them. Is this normal?
  • During the checkout process, at the Shipping Method stage, there is some text that says "Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button." Thing is, I can't see any Change Address button anywhere on screen. Should it be there?
  • I get the following error when I've added an item to my shopping cart then move to the Payment Method step:
    Fatal error: Call to undefined method payment::in_special_checkout() in /var/www/vhosts/sixvolts.co.nz/httpdocs/shop/includes/templates/apple_zen/templates/tpl_checkout_payment_default.php on line 50

Perhaps this could be due to the fact I've loaded a Direct Debit module the other day. I've never tried to purchase an item from my shop until now so I don't know if its a recent issue or not.

The line in question in the error message has a comment about BEGIN PAYPAL EXPRESS CHECKOUT - don't know if that helps.

Hope you're not too overwhelmed by all our questions and thank you so much for helping me :)

P.s I'm using Zen Cart 1.3.7 - I've updated my signature with this info and my site url.

Thanks again.

4 Mar 2007, 4:44 PM
#275
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

duxfield:

Hi Jade,

I got your PM and based on your other responses this is what I've done:

  • updated my tpl_main_page.php by using the file from thread #261

You may want to download my lasted apple zen update in the download section and use the tpl_main_page.php that is in there. The one you're using isn't causing you issues now, but it might in the future.

duxfield:

  • You might want to know that you have a spelling mistake on this line in menuheader.php as well:
    define('HEADER_TITLE_DISCOUNT_COUPON','Discout Coupons');
    Thanks! Doh, I didn't even see that. Now it is glaring at me.

duxfield:

  • I still have a little bit of white padding between the main image and the bottom border graphic.

Try removing this padding:
#contentMainWrapper {
width:71em;
margin:0 auto;
text-align:center;
padding:0 0 5px 0;
position:relative;
}

duxfield:

  • On a lot of pages the text blocks seem to be tabbed to the right. For example if you go to the Shipping Info under Information you will see that the block of text is pushed over to the right hand side. This happens on most of the pages with text on them. Is this normal?
    That issue is here:
    .centerColumn {
    width:73;
    float:right;
    position:relative;
    margin-right:1%;
    padding:1% 2% 0 2%;
    text-align:left;
    line-height:1.6em;
    }

change the 73 to 95%.

duxfield:

  • During the checkout process, at the Shipping Method stage, there is some text that says "Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button." Thing is, I can't see any Change Address button anywhere on screen. Should it be there?

Yes, there should be a change address button to the left of that text. It sounds like you have some issues with the checkout pages. Did you upgrade to 1.3.7 manually, or did you start with a fresh 1.3.7? It sounds to me like you have some upgrade issues.

duxfield:

  • I get the following error when I've added an item to my shopping cart then move to the Payment Method step:
    Fatal error: Call to undefined method payment::in_special_checkout() in /var/www/vhosts/sixvolts.co.nz/httpdocs/shop/includes/templates/apple_zen/templates/tpl_checkout_payment_default.php on line 50

Perhaps this could be due to the fact I've loaded a Direct Debit module the other day. I've never tried to purchase an item from my shop until now so I don't know if its a recent issue or not.

The line in question in the error message has a comment about BEGIN PAYPAL EXPRESS CHECKOUT - don't know if that helps.

Again, this sounds like someone running 1.3.6 with 1.3.7 files, so I'm wondering if you manually upgraded and missed some changes?

5 Mar 2007, 2:00 AM
#276
duxfield avatar

duxfield

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

Re: Apple Zen Support Thread

Thanks Jade - that is really awesome. I'll try those other changes but guess what? My host actually installed version 1.3.6 of Zencart and the database is version 1.3.6 too so I expect thats the problem. Man I'm a bit miffed about that eh. So now I'll need to upgrade but I'm thinking I will remove everything and start again from scratch with a fresh install of 1.3.7 and then use your Apple Zen 1.5 version as well. I have all my customisations in a custom folder (I hope I haven't changed any core files). Do you think thats the best plan?

5 Mar 2007, 2:20 AM
#277
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

duxfield:

Thanks Jade - that is really awesome. I'll try those other changes but guess what? My host actually installed version 1.3.6 of Zencart and the database is version 1.3.6 too so I expect thats the problem. Man I'm a bit miffed about that eh. So now I'll need to upgrade but I'm thinking I will remove everything and start again from scratch with a fresh install of 1.3.7 and then use your Apple Zen 1.5 version as well. I have all my customisations in a custom folder (I hope I haven't changed any core files). Do you think thats the best plan?

If I were early on in an install, yes, I would start from scratch with 1.3.7. If you have everything in a custom folder, that makes everything easier. I always seem to forget a file or two though, but its never too hard to figure out what it was that I missed.

Good luck!

5 Mar 2007, 7:07 AM
#278
duxfield avatar

duxfield

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

Re: Apple Zen Support Thread

Thanks Jade - okay I shall start afresh :mellow: The SQL database that was created by my web host provider can still be left in place though can't it? Or do I need to delete and re-create that as well?

I'm wondering if 1.3.7 has different tables etc that may give me problems if I use 1.3.7 with a database that has tables/data in it created by 1.3.6.

And do I just delete the root folder of Zencart and assume that will get me back to a fresh starting point to begin the install again?

5 Mar 2007, 7:14 AM
#279
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

duxfield:

Thanks Jade - okay I shall start afresh :mellow: The SQL database that was created by my web host provider can still be left in place though can't it? Or do I need to delete and re-create that as well? And do I just delete the root folder of Zencart and assume that will get me back to a fresh starting point to begin the install again?

1.3.7 has some database changes. If you haven't added a lot of products, I'd suggest starting fresh there as well. Yes, I'd start with all new files. It's up to you if you want to run the upgrade script, but I usually just start fresh, cause I'm anal like that. :-)

If you wanted to try and upgrade, here's the faq on the subject:
https://www.zen-cart.com/tutorials/index.php?article=98

5 Mar 2007, 7:25 AM
#280
duxfield avatar

duxfield

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

Re: Apple Zen Support Thread

Yeah I like the idea of a fresh start cause I don't want any issues arising later so fresh install is the way I'll go.

Okay so to be really specific I should delete the root ZenCart folder (and all sub folders), and also delete the current SQL database and create a new one. Then install ZenCart 1.3.7 and Apple Zen 1.5 and then load up my changes again?