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

Cherry Zen Template Support Thread

Views: 844,744

Results 1,861 to 1,880 of 3,245
14 Aug 2008, 8:07 PM
#1861
jettrue avatar

jettrue

Totally Zenned

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

Cherry Zen Template Support Thread

gleb486:

Hello. I'm new here. Just installed CheryZen template. Looks great. I have just one question for now. How I can add a header image above the menu bar?
Thank you.

What menu bar? The top red bar? Or are you talking about a logo above the grey ezpages bar?

14 Aug 2008, 8:17 PM
#1862
gknov29 avatar

gknov29

New Zenner

Join Date:
Aug 2008
Posts:
18
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I installed Cherry Zen
How can I have the contents of the cart and total amount with a cart jpg displayed on the front page

14 Aug 2008, 10:13 PM
#1863
gleb486 avatar

gleb486

New Zenner

Join Date:
Aug 2008
Posts:
19
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

What menu bar? The top red bar? Or are you talking about a logo above the grey ezpages bar?

Thank you for replay. I mean the Top red bar.

14 Aug 2008, 10:20 PM
#1864
panelcart avatar

panelcart

Zen Follower

Join Date:
Sep 2006
Posts:
125
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Jettrue I would really like to thank you for this template. I was a user of Simple Zen (which you answered many questions of mine for when I was first editing the stylesheet.css) and have been using Cherry Zen for over a year. I am very happy with the template and with all the updates that have come out and really appreciate that there are such kind people that are willing to use their own time to create such useful templates and contribs to others.

Thanks :)

14 Aug 2008, 10:39 PM
#1865
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

gknov29:

I installed Cherry Zen
How can I have the contents of the cart and total amount with a cart jpg displayed on the front page

There is a cart sidebox you can turn on in the admin, under "tools", "layout boxes controller". There's also other sidebox carts with different features in the downloads section under "sidebox modules".

14 Aug 2008, 10:42 PM
#1866
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

gleb486:

Thank you for replay. I mean the Top red bar.

Did you know you can add a banner, using the "Tools", "banner manager" in the admin? You then turn on the banner group you created under "Configuration", "Layout settings". Header Position 1 is above the top red bar, so adding an image under the banner manager to that position would save you having to open any php files.

14 Aug 2008, 10:44 PM
#1867
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

cyptc:

Jettrue I would really like to thank you for this template. I was a user of Simple Zen (which you answered many questions of mine for when I was first editing the stylesheet.css) and have been using Cherry Zen for over a year. I am very happy with the template and with all the updates that have come out and really appreciate that there are such kind people that are willing to use their own time to create such useful templates and contribs to others.

Thanks :)

You are welcome! :clap:

15 Aug 2008, 12:19 AM
#1868
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

hi jettrue,

thanks for the link help.

i am getting this css error regarding my stylesheet:

Warning: Error in parsing value for property 'width'. Declaration dropped.
Source File: /css/stylesheet.css
Line: 231

This is the code from that line:

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 */

do you know a fix for the parsing value error?

thanks!

15 Aug 2008, 12:44 AM
#1869
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

gsdcypher:

hi jettrue,

thanks for the link help.

i am getting this css error regarding my stylesheet:

Warning: Error in parsing value for property 'width'. Declaration dropped.
Source File: /css/stylesheet.css
Line: 231

This is the code from that line:

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 */

> 
> do you know a fix for the parsing value error?
> 
> thanks!
You can ignore it. In my opinion css validating helps find common mistakes, and that's very helpful, but realistically there are workarounds out there that will not validate. This is one of them. Your option is to ignore it, or remove that line in the css, and not have resizing in IE6 or older for the site. But it is not an error that will cause you any issues, AFAIK.
15 Aug 2008, 12:27 PM
#1870
gknov29 avatar

gknov29

New Zenner

Join Date:
Aug 2008
Posts:
18
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

There is a cart sidebox you can turn on in the admin, under "tools", "layout boxes controller". There's also other sidebox carts with different features in the downloads section under "sidebox modules".

my cart side box has single column on and nothing is showing
I tried all the options but nothing is happining
also is there a way to place rotating picture in the header
and roatain contents on the front page in define main page
Thanks

15 Aug 2008, 6:58 PM
#1871
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

hi jettrue,

i will ignore the error. thanks.

question on centering the tabs in the menu bar.

this coded appears to align the tabs to the right:

#navMain ul {
    float:right;
    list-style:none;
    }

since there is no "float:center" what is the correct code to center them in the menu bar?

also, what is the correct code to place an image in the menu instead of a link?

<li><?php echo '<a href="' . zen_ez_pages_link(1) . '"><span>Gov Purchase Orders</a>'; ?><span class="last"></li>

i tried this, but it didn't work:

<li>zen_image(DIR_WS_TEMPLATE_IMAGES . 'phonenumber.gif')<span class="last"></li>

thanks.

15 Aug 2008, 11:18 PM
#1872
gleb486 avatar

gleb486

New Zenner

Join Date:
Aug 2008
Posts:
19
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

Did you know you can add a banner, using the "Tools", "banner manager" in the admin? You then turn on the banner group you created under "Configuration", "Layout settings". Header Position 1 is above the top red bar, so adding an image under the banner manager to that position would save you having to open any php files.

Tank you jettrue. It really saved time.
Now could you please direct me how I can add menu battons and links in the red menu ba such as "about us" and "why buy from us". The problem become more complex because I need it in both English and Russian. Or would you advice any other alternative?

Thank you.

15 Aug 2008, 11:53 PM
#1873
micki avatar

micki

New Zenner

Join Date:
Jul 2008
Posts:
35
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hi Jettrue:

I am extremely new to the ZenCart and trying to get my web site set up, but really don't know where to begin.

Absolutely love you Cherry Template and would like to use it as a guideline for my site.

The people hosting my site were nice enough to install the ZenCart and your template for me, but now I'm trying to customize the template. I am so confused with this and not sure if I'm doing the right thing here. I've read your instructions quite a few times, but I'm so green with all this stuff that I still find this confusing.

I uploaded the image of my header into the template images out of my control panel, but I don't really know how to over write your logo image.

Would it be possible for you to point me in the right direction with customizing your template? Am I suppose to put your template into a program such as Expression Web to edit and make changes. I'm confortable using EW, but can't figure out how to get your template in there.

A feel so dazed and confused with this whole thing. I do apologize for bothering you, but any help would be very much appreciated.:frusty:

Thanks,

16 Aug 2008, 3:18 PM
#1874
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

gknov29:

my cart side box has single column on and nothing is showing
I tried all the options but nothing is happining
also is there a way to place rotating picture in the header
and roatain contents on the front page in define main page
Thanks

Add something to the cart.

I'm sure there is a way to have a rotating picture in the header, but I have no experience with that, it would be a great question for the general forum. It would be the same method no matter the template.

16 Aug 2008, 3:21 PM
#1875
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

gsdcypher:

hi jettrue,

i will ignore the error. thanks.

question on centering the tabs in the menu bar.

this coded appears to align the tabs to the right:

#navMain ul {
float:right;
list-style:none;
}

> 
> since there is no "float:center" what is the correct code to center them in the menu bar?
> 
> also, what is the correct code to place an image in the menu instead of a link? 
> 
> ```
<li><?php echo '<a href="' . zen_ez_pages_link(1) . '"><span>Gov Purchase Orders</a>'; ?><span class="last"></li>

i tried this, but it didn't work:

<li>zen_image(DIR_WS_TEMPLATE_IMAGES . 'phonenumber.gif')<span class="last"></li> ``` > > thanks.
  1. text-align:center;
    margin:9 auto;

  2. Just do it the normal way, don't use php. <li><span class="last"><img src="image_here.jpg" /></span></li>

16 Aug 2008, 3:35 PM
#1876
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

gleb486:

Tank you jettrue. It really saved time.
Now could you please direct me how I can add menu battons and links in the red menu ba such as "about us" and "why buy from us". The problem become more complex because I need it in both English and Russian. Or would you advice any other alternative?

Thank you.

I have no advice for the english/russian issue, I've never dealt with multiple languages, however, I do know that you have to create a russian language file for every english one that you have, so that when your customers change it to russian, zen cart knows what to change the text to.

To add buttons, you'll need to open up includes/templates/cherry_zen/common/tpl_header.php and find this section:

        <div id="navMain">
          <ul>
            <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><span><?php echo HEADER_TITLE_CATALOG; ?></span></a></li>
            <?php if ($_SESSION['customer_id']) { ?>
            <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGOFF; ?></span></a></li>
            <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
            <?php
      } else {
        if (STORE_STATUS == '0') {
?>
            <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGIN; ?></span></a></li>
            <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
            <?php } } ?>
            <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS; ?></span></a></li>
            <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><span class="last"><?php echo HEADER_TITLE_CHECKOUT; ?></span></a></li>
          </ul>
        </div>
      </div>

which is the red links. Carefully look through the above code, and figure out where you want your links. Then add them like this:

<li><a href="link to page here"><span>Name of Page Here</span></a></li>

You'll also need to open up includes/templates/cherry_zen/css/stylesheet.css and make #navMain wider than 750px.

16 Aug 2008, 3:40 PM
#1877
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

Micki:

Hi Jettrue:

I am extremely new to the ZenCart and trying to get my web site set up, but really don't know where to begin.

Absolutely love you Cherry Template and would like to use it as a guideline for my site.

The people hosting my site were nice enough to install the ZenCart and your template for me, but now I'm trying to customize the template. I am so confused with this and not sure if I'm doing the right thing here. I've read your instructions quite a few times, but I'm so green with all this stuff that I still find this confusing.

I uploaded the image of my header into the template images out of my control panel, but I don't really know how to over write your logo image.

Would it be possible for you to point me in the right direction with customizing your template? Am I suppose to put your template into a program such as Expression Web to edit and make changes. I'm confortable using EW, but can't figure out how to get your template in there.

A feel so dazed and confused with this whole thing. I do apologize for bothering you, but any help would be very much appreciated.:frusty:

Thanks,
To overwrite the logo, simply rename your logo to logo.gif, and upload it to includes/templates/cherry_zen/images

You will not be able to "see" the template in your editor. You can go as simple as opening the file in an online file manager, clicking "edit" and editing the file there, OR you can use an FTP program to download the files, use an editor on your computer to edit the files, then FTP the changed files back. But when you edit, you'll be just viewing TEXT, you won't see the template.

Most of your changes will be done in language files, if you are happy with the template, and only want to change text. My advice for a newbie is to ask your host for a link to an online file manager, and edit your files there (make a copy first in case you mess up). Again, most of the files you will adjust will be in includes/languages/english/, includes/languages/english/cherry_zen/ and much text for your zen cart is at includes/languages/cherry_zen/english.php

16 Aug 2008, 6:24 PM
#1878
gleb486 avatar

gleb486

New Zenner

Join Date:
Aug 2008
Posts:
19
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hi jettrue.
Thank you for your advise regarding the Buttons. It apeared that the buttons come with Russian pack which I've installed. I've turned on "use CSS buttons" and they have apeared.
My next question is about Logo and Salles Text. Please advise how I can complitelly remove it fron the place above Banner position 2 which I've turned on. I've trayed to remove it from "header.php" however "Sales Alt Text" remaines. I need a 0 margin between Banner 2 and red menu bar above it.

Thank you.

16 Aug 2008, 8:17 PM
#1879
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

gleb486:

Hi jettrue.
Thank you for your advise regarding the Buttons. It apeared that the buttons come with Russian pack which I've installed. I've turned on "use CSS buttons" and they have apeared.
My next question is about Logo and Salles Text. Please advise how I can complitelly remove it fron the place above Banner position 2 which I've turned on. I've trayed to remove it from "header.php" however "Sales Alt Text" remaines. I need a 0 margin between Banner 2 and red menu bar above it.

Thank you.

When you remove TEXT in a language file, DO NOT remove the whole line from the php page. ONLY remove the ACTUAL TEXT. For example, to remove the header text, change this:
define('HEADER_SALES_TEXT', 'Your logo could be wider here, Sales Header Text Could Be here, Or a Banner Image, or any combination of the three; find instructions in the readme.txt, which you have read already, right?');

To this:

define('HEADER_SALES_TEXT', '');

In the stylesheet.css, search for the banner section, and then remove the margin and or padding there.

16 Aug 2008, 8:58 PM
#1880
gleb486 avatar

gleb486

New Zenner

Join Date:
Aug 2008
Posts:
19
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

When you remove TEXT in a language file, DO NOT remove the whole line from the php page. ONLY remove the ACTUAL TEXT. For example, to remove the header text, change this:
define('HEADER_SALES_TEXT', 'Your logo could be wider here, Sales Header Text Could Be here, Or a Banner Image, or any combination of the three; find instructions in the readme.txt, which you have read already, right?');

To this:

define('HEADER_SALES_TEXT', '');

In the stylesheet.css, search for the banner section, and then remove the margin and or padding there.

Followed your instruction however small link for the logo remains on the top left between banner and red menu bar.
When I clicked on it the properti shows as default template location. I can not find any header on the default template.
How do I remove it?
Please look at the site: https://www.alfa-mobile.com
Thank you.