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

Cherry Zen Template Support Thread

Views: 844,697

Results 21 to 40 of 3,245
14 Aug 2007, 22:50
#21
jettrue avatar

jettrue

Totally Zenned

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

Cherry Zen Template Support Thread

helloUK:

How can I delete the header? I tried to adjust includes/languages/english/cherry_zen/header.php
Unfortunately, it was not right.

Could you please tell me how I can change it? Thanks

http://u-fashion.net/shop

Are you talking about this text:
Welcome to our online shop. We will be on ebay soon....

That is where that text should be. However, do a search for it in the "Tools", "Developers Tool Kit" and it will tell you exactly what file it is in.

ETA: I see you removed a lot of the <div>'s as you wanted a 100% width site, with no drop shadow. However, you forgot to remove this:

</td></tr></table></div></div></div></div></div></div></div></div></div>

from the common/tpl_footer.php.

15 Aug 2007, 06:44
#22
hellouk avatar

hellouk

New Zenner

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

Re: Cherry Zen Template Support Thread

jettrue:

Are you talking about this text:
Welcome to our online shop. We will be on ebay soon....

That is where that text should be. However, do a search for it in the "Tools", "Developers Tool Kit" and it will tell you exactly what file it is in.

ETA: I see you removed a lot of the <div>'s as you wanted a 100% width site, with no drop shadow. However, you forgot to remove this:

</td></tr></table></div></div></div></div></div></div></div></div></div>

from the common/tpl_footer.php.

Thank you. However, I would like to change the top search bar and I would like to del it. Where can I remove it?

Also, I would like to have drop shadow but not a 100% width. Unfortunately, when I installed "CSS Horizontal Drop Down Menu", after installing, the website page has been changed to 100% width:(..I do not know why. How can I change back having drop shadow?

With drop shadow, it is much nicer.

Thank you again

15 Aug 2007, 11:33
#23
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

helloUK:

Thank you. However, I would like to change the top search bar and I would like to del it. Where can I remove it?

Also, I would like to have drop shadow but not a 100% width. Unfortunately, when I installed "CSS Horizontal Drop Down Menu", after installing, the website page has been changed to 100% width:(..I do not know why. How can I change back having drop shadow?

With drop shadow, it is much nicer.

Thank you again

Since you have an edited common/tpl_header.php, you need to follow the instructions in the readme.txt:

  1. If you have heavily modified your includes/templates/YOUR_TEMPLATE/common/tpl_header.php, instead of uploading the tpl_header.php included in this download, you can simply add this to your header where you'd like the css menu to appear:
<!--bof-drop down menu display--> <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?> <!--eof-drop down menu display-->

So, you'll need to reupload tpl_header.php, ignore my post above about removing all those closing <div>'s, and then paste the section of code above into tpl_header.php. I would paste it after this:

<!--eof-header ezpage links-->

Ok, do you want just the search function gone, or the whole top bar gone?

15 Aug 2007, 11:47
#24
hellouk avatar

hellouk

New Zenner

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

Re: Cherry Zen Template Support Thread

jettrue:

Since you have an edited common/tpl_header.php, you need to follow the instructions in the readme.txt:

So, you'll need to reupload tpl_header.php, ignore my post above about removing all those closing <div>'s, and then paste the section of code above into tpl_header.php. I would paste it after this:

<!--eof-header ezpage links-->

Ok, do you want just the search function gone, or the whole top bar gone?

Thank you for your reply. I would like to remove the whole top bar gone (Not logo.gif bar) but I would like to have drop down menu and shadow. Could you please give me some advices?

Thank you.

15 Aug 2007, 12:37
#25
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

First I want to say this template is awesome!
My question is with the css flyout header. I saw in an earlier post that this would work but I can't seem to get it to. Just to be sure, I am talking about the one that is found in the apple_zen template.
Anyone else with problems?
The site I have it on is adult so if you click just be forewarned. No nudity, but still...
http://www.sleeplessnightsonline.com/shopping

Also, how do you make the shop a bit narrower? I can't seem to get it to work.

15 Aug 2007, 17:42
#26
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

sleepless:

First I want to say this template is awesome!
My question is with the css flyout header. I saw in an earlier post that this would work but I can't seem to get it to. Just to be sure, I am talking about the one that is found in the apple_zen template.
Anyone else with problems?
The site I have it on is adult so if you click just be forewarned. No nudity, but still...
http://www.sleeplessnightsonline.com/shopping

Also, how do you make the shop a bit narrower? I can't seem to get it to work.

Thanks for the compliment! Its so nice to see the template in action.

Ok, for the css flyout header.. where are you pasting this section of code:

<!--bof-drop down menu display-->

<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPL ATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>

<!--eof-drop down menu display-->

Basically, you need to upload all the files EXCEPT includes/templates/YOUR_TEMPLATE/common/tpl_header.php

and paste the above code into your cherry_zen/common/tpl_header.php

You are using the css dropdown mod by itself, right? I'd imagine it'd be easy to miss a file if you are trying to pull the right files out of the apple zen template.
Css Dropdown Header

15 Aug 2007, 17:58
#27
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

sleepless:

First I want to say this template is awesome!
My question is with the css flyout header. I saw in an earlier post that this would work but I can't seem to get it to. Just to be sure, I am talking about the one that is found in the apple_zen template.
Anyone else with problems?
The site I have it on is adult so if you click just be forewarned. No nudity, but still...
http://www.sleeplessnightsonline.com/shopping

Also, how do you make the shop a bit narrower? I can't seem to get it to work.

Me again!

I was looking at your site, and there seems to be a problem with this file:
includes/templates/cherry_zen/templates/tpl_product_info_display.php

from about line 53, it should look like this (replace from : <!--eof Main Product Image--> down to <!--eof Reviews button and count -->)

<!--eof Main Product Image-->
<div id="friendReview">
<!--bof Tell a Friend button -->
<?php
if ($flag_show_product_info_tell_a_friend == 1) { ?>
<div id="productTellFriendLink"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div>
<?php
}
?>
<!--eof Tell a Friend button -->
<!--bof Reviews button and count-->
<?php
if ($flag_show_product_info_reviews == 1) {
  // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button
  if ($reviews->fields['count'] > 0 ) { ?>
<div id="productReviewLink"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_REVIEWS, BUTTON_REVIEWS_ALT) . '</a>'; ?><p class="reviewCount"><?php echo ($flag_show_product_info_reviews_count == 1 ? TEXT_CURRENT_REVIEWS . ' ' . $reviews->fields['count'] : ''); ?></p></div>
<?php } else { ?>
<div id="productReviewLink"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array())) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?></div>
<?php
}
}
?></div>
<!--eof Reviews button and count -->

ETA: OH, and to adjust the width of your site, you need to adjust both:

#nw {
	width:80%; /* main site width; if you'd prefer a fixed width site, enter the width in px here. */
	max-width:1300px; /* prevents the main content from getting wider than 1300px in sites other than IE */
	min-width:1000px; /* this prevents the main content from getting smaller than 1000px in browsers OTHER THAN IE. You can make this as small as 800px, BUT any smaller than that, and the top header menu will break into two lines. Also, if you make this width 800px, you will need to make sure your product image on the product info page is no wider than 190px */
	}
	
/* IE only. Controls Width of Site and Main Content*/
* html #nw {
	width:expression((d=document.compatMode=="CSS1Compat" ? document.documentElement : document.body) && (d.clientWidth > 1300? "1300px" : d.clientWidth > 1048? "80%" : d.clientWidth < 1048? "1000px" : "80%")); /* this prevents the site from getting smaller than 1000px or wider than 1300px in IE */
	}
/* end IE only */
15 Aug 2007, 18:04
#28
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

helloUK:

Thank you for your reply. I would like to remove the whole top bar gone (Not logo.gif bar) but I would like to have drop down menu and shadow. Could you please give me some advices?

Thank you.

Sure, open up common/tpl_header.php and delete everything from

<!--bof-navigation display-->

to

<!--eof-navigation display-->
15 Aug 2007, 18:14
#29
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I was looking at your site, and there seems to be a problem with this file:
includes/templates/cherry_zen/templates/tpl_product_info_display.php

from about line 53, it should look like this (replace from : <!--eof Main Product Image--> down to <!--eof Reviews button and count -->)

I know...I was trying to get the tell a friend and reviews button under my product information. I have the contribution that shows the reviews on the page instead of a link to them. I can't seem to get it working though.
I think I will let that go for now and work on the flyout header.
I actually downloaded a copy from the downloads section. I wouldn't even attempt to pull it from the apple zen. I would really botch that up! :blink: I think the mistake I made was I uploaded the common tpl header. I will try again with out doing that and just paste it where I want it.

Thanks for your reply. I will work on the header now.

15 Aug 2007, 18:35
#30
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hi,

Would it be possible to put the drop down menu where the red nav menu is up top. But..also keep the search box off to the left where it is?

Thank you again,
Kelly

15 Aug 2007, 18:54
#31
hellouk avatar

hellouk

New Zenner

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

Re: Cherry Zen Template Support Thread

jettrue:

Thanks for the compliment! Its so nice to see the template in action.

Ok, for the css flyout header.. where are you pasting this section of code:

<!--bof-drop down menu display--> <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPL ATE, $current_page_base,'common'). '/tpl_drop_menu.php');?> <!--eof-drop down menu display-->
> 
> Basically, you need to upload all the files EXCEPT includes/templates/YOUR_TEMPLATE/common/tpl_header.php
> 
> and paste the above code into your cherry_zen/common/tpl_header.php
> 
> You are using the css dropdown mod by itself, right? I'd imagine it'd be easy to miss a file if you are trying to pull the right files out of the apple zen template.
> [Css Dropdown Header](http://snipurl.com/1amqi)

Hello,

I had followed your instruction to put code into common/tpl_header.php but it doesnt work. Also I had uploaded Css Dropdown Header all flies except common/tpl_header.php.

How can add I Dropdown Header into Cherry_zen template?

Sorry I am not good at PHP....
15 Aug 2007, 18:57
#32
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

sleepless:

Hi,

Would it be possible to put the drop down menu where the red nav menu is up top. But..also keep the search box off to the left where it is?

Thank you again,
Kelly

That's probably doable... but it would be a fairly difficult adjustment. But I'm guessing this won't be the first time I'm asked that question, so I'll devote some time in the near future to figuring that out, then I'll add detailed instructions.

as far as your tell a friend/reviews issue, you should be able to cut and paste everything from

<div id="friendReview">

to

<!--eof Reviews button and count -->

I would paste it after:

<!--eof Additional Product Images -->
15 Aug 2007, 19:00
#33
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

as far as your tell a friend/reviews issue, you should be able to cut and paste everything from

<div id="friendReview">

to

<!--eof Reviews button and count -->

I would paste it after:

<!--eof Additional Product Images -->

I'm not sure if I tried that yet. Where I have tried it breaks the template.
I try there and see.

Thanks again,
Kelly

15 Aug 2007, 19:57
#34
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Okay...that worked. I still can't have the reviews show or it really makes a mess of the template. I will post the code necessary for it to work. Maybe you can see why it won't. It's not that big of a deal. I am so pleased with the template that if I can't have that I'm not going to complain.

<!--bof Reviews button and count--> <?php if ($flag_show_product_info_reviews == 1) { // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> <div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_REVIEWS, BUTTON_REVIEWS_ALT) . '</a>'; ?></div> <br class="clearBoth" /> <p class="reviewCount"><?php echo ($flag_show_product_info_reviews_count == 1 ? TEXT_CURRENT_REVIEWS . ' ' . $reviews->fields['count'] : ''); ?></p> <?php } else { ?> <div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array())) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?></div> <br class="clearBoth" /> <?php } } ?> <!--eof Reviews button and count -->

I Love It! :clap: Thank you once again!
Kelly

15 Aug 2007, 20:35
#35
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

sleepless:

Okay...that worked. I still can't have the reviews show or it really makes a mess of the template. I will post the code necessary for it to work. Maybe you can see why it won't. It's not that big of a deal. I am so pleased with the template that if I can't have that I'm not going to complain.

I Love It! :clap: Thank you once again!
Kelly

Since you don't have the review turned on (I found a product with a review), I can't tell for sure if it will fix the issue you saw, but I can tell that you need a :

<br class="clearBoth" />

Just before:

<!--eof Reviews button and count -->
15 Aug 2007, 20:41
#36
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Since you don't have the review turned on (I found a product with a review), I can't tell for sure if it will fix the issue you saw, but I can tell that you need a :

<br class="clearBoth" />

Just before:

<!--eof Reviews button and count -->

Thanks. I fixed that. That would explain why it looked messed up in FF. I will try the other again. Maybe that had something to do with it.

Thanks,
again!

16 Aug 2007, 21:11
#37
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
730
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

:smile:Hello Jettrue,

Thanks for taking a look at my setup for me. I narrowed down what breaks the template on my setup.

When an item is out of stock, the sideboxes went astray. I removed the Request Restock (just been released) button, and the problem went away.

It also happens on the product listing pages. Only when a category description existed. When I took this off, the sideboxes returned to normal. I also have category description below and above items installed.

I thought I would let you know what I sussed out. It is a bit baffling, I thought maybe I could look at the css and maybe and play around with it. Would that help?

Thanks in advance,

Russ

16 Aug 2007, 21:57
#38
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

HeathenMagic:

:smile:Hello Jettrue,

Thanks for taking a look at my setup for me. I narrowed down what breaks the template on my setup.

When an item is out of stock, the sideboxes went astray. I removed the Request Restock (just been released) button, and the problem went away.

It also happens on the product listing pages. Only when a category description existed. When I took this off, the sideboxes returned to normal. I also have category description below and above items installed.

I thought I would let you know what I sussed out. It is a bit baffling, I thought maybe I could look at the css and maybe and play around with it. Would that help?

Thanks in advance,

Russ

Can I see your site with the request stock on (point me to a product). It could be a problem with the mod. This template (as any template with a lot of floats) will be very sensitive to any missing divs or extra divs or whatever. And of course, it could be due to me not turning on every option in zen to test all combinations.

As far as the category description issue, I'm not sure, as I have a category desc. on my site with no issues. But lets first figure out the Request Restock issue.

16 Aug 2007, 23:34
#39
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: Cherry Zen Template Support Thread

Hi jettrue, I'm customizing the template, and I can't figure out how I do to centralize a bar I inserted for footer. Any idea how?

To see what I mean, try my domain with /testing at the end.

16 Aug 2007, 23:56
#40
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cherry Zen Template Support Thread

ideasgirl,

I think that you have told it to align left with this

#navSuppWrapper {
	width:100%;
	margin:0 auto;
	float:left;
	}

Try dropping the float and using text-align: center;