Zen Cart Logo
Forums / Addon Templates / Cherry Zen Template Support Thread

Cherry Zen Template Support Thread

Views: 845,044

Results 2,441 to 2,460 of 3,245
5 Feb 2009, 10:26 PM
#2441
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Cherry Zen Template Support Thread

Stuff4Toys:

Cut in two pieces, I can add a new class for logo2 in the stylesheet and the tpl_header.php then the negative margin for the second part.

Jade, your a genius!
JOhn ><>So if I take

 
#logoWrapper {
 width:auto;
}
#logo {
 float:left;
 padding-left:15px;
 text-align:center;
}
#logo2 {
 float:left;
 margin-top:-45px;
 text-align:center;
}

Is that the correct style code to use?
JOhn ><>

6 Feb 2009, 12:58 AM
#2442
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

Stuff4Toys:

So if I take

#logoWrapper {
width:auto;
}
#logo {
float:left;
padding-left:15px;
text-align:center;
}
#logo2 {
float:left;
margin-top:-45px;
text-align:center;
}

> Is that the correct style code to use?
> JOhn ><>
No, I'm not saying cut it in two pieces. Make one image, have it's background be transparent, at least in that top portion of the logo that will overlap. Then use the negative margin-top to move the whole logo up.
6 Feb 2009, 2:11 PM
#2443
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Cherry Zen Template Support Thread

jettrue:

No, I'm not saying cut it in two pieces. Make one image, have it's background be transparent, at least in that top portion of the logo that will overlap. Then use the negative margin-top to move the whole logo up.I think I understand, but won't a taller image, even if it's transparent block the search bar?
JOhn ><>

7 Feb 2009, 6:04 PM
#2444
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

Stuff4Toys:

I think I understand, but won't a taller image, even if it's transparent block the search bar?
JOhn ><>

Smart thinking, I didn't think of that. Sounds like you are on the right track by splitting it into two images. Good luck while you troubleshoot to get it just right! It can be tricky getting things positioned just right. Trial and error will get you there, though.

7 Feb 2009, 8:58 PM
#2445
kate_1 avatar

kate_1

New Zenner

Join Date:
Aug 2007
Location:
UK
Posts:
47
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hi,

Well I've been looking through this forum for ages & can't find an answer to my problem so thought I post it.

I have changed the image sizes of all my products under the admin panel, but can't find anywhere to change the size of the images under the Specials. Guess it must be simple, but just can't find it for all the looking... Not even sure this has anything to do with the cherry zen bit! :lookaroun

Hope someone can help me! Thankyou!

7 Feb 2009, 9:18 PM
#2446
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

---kate---:

Hi,

Well I've been looking through this forum for ages & can't find an answer to my problem so thought I post it.

I have changed the image sizes of all my products under the admin panel, but can't find anywhere to change the size of the images under the Specials. Guess it must be simple, but just can't find it for all the looking... Not even sure this has anything to do with the cherry zen bit! :lookaroun

Hope someone can help me! Thankyou!

You haven't found it because it doesn't exist. You can't change them specifically, they'll take whatever size you listed for small images in the admin.

7 Feb 2009, 10:37 PM
#2447
kate_1 avatar

kate_1

New Zenner

Join Date:
Aug 2007
Location:
UK
Posts:
47
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

You haven't found it because it doesn't exist. You can't change them specifically, they'll take whatever size you listed for small images in the admin.

Oh I see. Just tried that & it works but it also enlarges my images in the scrolling sideboxes to a size that's too big. So is there anywhere I can add a bit of code into the .php files instead? :unsure:

7 Feb 2009, 11:58 PM
#2448
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

---kate---:

Oh I see. Just tried that & it works but it also enlarges my images in the scrolling sideboxes to a size that's too big. So is there anywhere I can add a bit of code into the .php files instead? :unsure:

This would be a good question for the general forum. :smile:

9 Feb 2009, 11:11 AM
#2449
kate_1 avatar

kate_1

New Zenner

Join Date:
Aug 2007
Location:
UK
Posts:
47
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

This would be a good question for the general forum. :smile:

Have posted in general, thanks!

9 Feb 2009, 12:06 PM
#2450
cleasterwood avatar

cleasterwood

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I'm new to Zen Cart, but not PHP. I've been trying to change the following source code, but can't for the life of me figure out where to configure it. Is it configured inside of ZenCart's admin or do I have to edit the PHP code? If I have to edit the code, can someone please tell me which file I will have to edit-Cherry Zen or the default template & file name.

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>HOME_PAGE_TITLE</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="HOME_PAGE_META_KEYWORDS" /> <meta name="description" content="HOME_PAGE_META_DESCRIPTION" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart™ Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart™, <http://www.zen-cart.com> eCommerce" />
9 Feb 2009, 2:31 PM
#2451
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

cleasterwood:

I'm new to Zen Cart, but not PHP. I've been trying to change the following source code, but can't for the life of me figure out where to configure it. Is it configured inside of ZenCart's admin or do I have to edit the PHP code? If I have to edit the code, can someone please tell me which file I will have to edit-Cherry Zen or the default template & file name.

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>HOME_PAGE_TITLE</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="HOME_PAGE_META_KEYWORDS" /> <meta name="description" content="HOME_PAGE_META_DESCRIPTION" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart™ Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart™, <http://www.zen-cart.com> eCommerce" />

This would be a good question for the general forum. :smile:

9 Feb 2009, 2:56 PM
#2452
bettsaj avatar

bettsaj

New Zenner

Join Date:
Dec 2008
Posts:
82
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I'm having a problem with a site i'm working on. I'm getting a blank page when i click the button to go to the 2nd part of the checkout procedure.

I've downloaded and installed the error logging tool and it came back with this error message:

[09-Feb-2009 13:16:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53) in /home/u30chri/public_html/sienna/includes/functions/functions_general.php on line 44

Now I have been discussing this with a few people on the Zen forum as initially I thought it was probably the functions_general.php page that was at fault, see the following thread http://www.zen-cart.com/forum/showthread.php?t=119717... But following some further advice i've got it appears that it may be a page in the cherry_zen template folder, flat.php

I've notice that flat.php isn't part of the installation package for cherry_zen so the file must be dynamically created by zen cart or cherry zen itself.

Can someone please tell me how/why this page is created, and whether from wat you can see from my screen grab what's wrong with the coding. At present line 53 on the flat.php page is blank!!!

9 Feb 2009, 4:10 PM
#2453
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

bettsaj:

I'm having a problem with a site i'm working on. I'm getting a blank page when i click the button to go to the 2nd part of the checkout procedure.

I've downloaded and installed the error logging tool and it came back with this error message:

Now I have been discussing this with a few people on the Zen forum as initially I thought it was probably the functions_general.php page that was at fault, see the following thread http://www.zen-cart.com/forum/showthread.php?t=119717... But following some further advice i've got it appears that it may be a page in the cherry_zen template folder, flat.php

I've notice that flat.php isn't part of the installation package for cherry_zen so the file must be dynamically created by zen cart or cherry zen itself.

Can someone please tell me how/why this page is created, and whether from wat you can see from my screen grab what's wrong with the coding. At present line 53 on the flat.php page is blank!!!

No, cherry zen does not randomly create files, nor does zen cart. Some human put the file there, and there is something wrong with the file.

Read this readme about headers already sent errors.
https://www.zen-cart.com/tutorials/index.php?article=87

9 Feb 2009, 4:18 PM
#2454
bettsaj avatar

bettsaj

New Zenner

Join Date:
Dec 2008
Posts:
82
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

You say a Human put it there, can you clarify whether or not flat.php is a bonafide cherry zen or zen cart file??

9 Feb 2009, 4:48 PM
#2455
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

bettsaj:

You say a Human put it there, can you clarify whether or not flat.php is a bonafide cherry zen or zen cart file??

Well, like you said, it's not in the cherry_zen download, so, no, it's not a bonafide cherry zen file. There is a flat.php originally in zen cart, under /includes/languages/english/modules/shipping/

My guess is, someone probably changed flat.php, moved it to the cherry_zen folder (which is perfect use of the override system), but as I see from your post, you're having problems with CuteFTP messing up your files, so now that corrupted or improperly formatted file has messed up your checkout process. Is the original flat.php in includes/languages/english/modules/shipping? If so, you can delete the cherry_zen one.

But it was not "created" by zen cart or cherry_zen.

11 Feb 2009, 9:15 AM
#2456
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

First of all thanks for the great template.

I got it working very quickly but I have a very weird problem with IE. I have not changed anything in the setting of the template and it drives me crazy.

I am using zencart 1.38 and Cherry Zen template 1.7

The problem is in the product info. If I have a normal product everything shows ok in product listing and in product info. Nevertheless if I create a downloadable product then the product info page breaks with the left hand column content dropping down. This happens only in IE .

You can see it here: http://www.dedemarco.com.au/index.php?main_page=product_info&cPath=71&products_id=198

Tried to find solution here but could not. Thanks for any help tha you guys can provide.

Tassos

12 Feb 2009, 4:51 AM
#2457
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

OK I figured it out. For everyone else that may get/have the same problem, it is very easy to fix once you know where to look at :-)

Just change the following in the stylesheet.css line 393 :

#productAttributes {
width:100%;
float:left;
border:1px solid #bfbfbf;
padding-left:5px;
margin:5px 0 0 10px;
}

Change to :

#productAttributes {
width:80%;
float:left;
border:1px solid #bfbfbf;
padding-left:5px;
margin:5px 0 0 10px;
}

The width can not be 100% because IE has a problem with it when attributes are used. Hope that helps .

Tassos

12 Feb 2009, 5:31 AM
#2458
australican avatar

australican

Zen Follower

Join Date:
Jan 2009
Location:
Victoria Australia
Posts:
100
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Jade (your awesome)
I'm a zen cart and php newbie, so you'll have to excuse my terminology.
I'm using the latest zen cart and your wonderful Cherry zen template.
I've added three logos to my site and managed to get them all working right, but still have a couple of concerns.
First, I had difficulty sizing them.
I followed directions and tried to do it in header.php.
When I edited this file I was able to change the logo and alt text but entering a different size didn't change things.
Under advice from this site I changed the <div id+"logo"> statement in tpl_header.php to include HEADER_LOGO_WIDTH and HEADER_LOGO_HEIGHT.
That made it all work and everything seems fine.
My concern is that you left those out for a reason and I might be causing myself some grief further down the line.
My other question is about this template being fluid.
What exactly happens when viewed on a lager screen.
For example, my three logos, will just the wrapper increase around them? Will they space further apart or will they(shudder) increase in size and distort.
If it's the later should I be uploading larger files then I am displaying?
I know that's a lot to ask, I appreciate any help you can give.
Thanks a bunch David

12 Feb 2009, 12:34 PM
#2459
jettrue avatar

jettrue

Totally Zenned

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

Re: Cherry Zen Template Support Thread

australican:

Jade (your awesome)
I'm a zen cart and php newbie, so you'll have to excuse my terminology.
I'm using the latest zen cart and your wonderful Cherry zen template.
I've added three logos to my site and managed to get them all working right, but still have a couple of concerns.
First, I had difficulty sizing them.
I followed directions and tried to do it in header.php.
When I edited this file I was able to change the logo and alt text but entering a different size didn't change things.
Under advice from this site I changed the <div id+"logo"> statement in tpl_header.php to include HEADER_LOGO_WIDTH and HEADER_LOGO_HEIGHT.
That made it all work and everything seems fine.
My concern is that you left those out for a reason and I might be causing myself some grief further down the line.
My other question is about this template being fluid.
What exactly happens when viewed on a lager screen.
For example, my three logos, will just the wrapper increase around them? Will they space further apart or will they(shudder) increase in size and distort.
If it's the later should I be uploading larger files then I am displaying?
I know that's a lot to ask, I appreciate any help you can give.
Thanks a bunch David

Hi There,

Could I see a link to your site?

Why not make the three logos just one logo?

13 Feb 2009, 5:35 AM
#2460
australican avatar

australican

Zen Follower

Join Date:
Jan 2009
Location:
Victoria Australia
Posts:
100
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

Hi There,

Could I see a link to your site?

Why not make the three logos just one logo?

Hi, Jade thanks for the reply.
I had two reasons for the multiple logos.
I wanted to have the freedom to tweak them individually once they were sitting on the page. I'm also considering having one of them rotate once after the page loads.

The main reason was a learning exercise. I'm still trying to get a better understanding of zen cart and php.
More specifically- how all the files work together.
Believe it or not, it took me two days and lots of searching to get them on there as separate adjustable elements, but I learned a few things.

My site is, countrytothecore.net/shop/

Thanks again for your time,
David