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

Cherry Zen Template Support Thread

Views: 844,792

Results 561 to 580 of 3,245
2 Dec 2007, 8:27 PM
#561
Join Date:
Nov 2007
Location:
oregon
Posts:
70
Plugin Contributions:
0

Cherry Zen Template Support Thread

mediathing:

Are you aware of any issues to upgrading this template to 1.3.8? Also, do you know of a way to enable the wpp without having to upgrade the whole cart?

Thanks
P

seems to be fine so far in 1.3.8 did a demo site last night everything seems fine so far.

2 Dec 2007, 8:42 PM
#562
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

FreeArticlePublishin:

seems to be fine so far in 1.3.8 did a demo site last night everything seems fine so far.

The main thing worrying me is I am sure that I haven't followed the template system 100% of the time, silly little english.php entries etc. Not sure that upgrading would be a simple task but Paypal wpp is something I really need...rock and a hard place!

P

2 Dec 2007, 10:25 PM
#563
speeds5 avatar

speeds5

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Can someone help with me a quick question. I'm trying to add a page/link to the header bar between "Home" and "Log In" I'm having a little bit of trouble, can someone show me how do this?

The website is http://alboperformance.com

3 Dec 2007, 2:52 AM
#564
jkeifer avatar

jkeifer

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Hi everyone!

First of all sorry for asking a questions that probably have been asked several times before. I just couldn´t get through this massive thread.
Second question This poblem is on the other hand only in IE6 and not in firefox or IE7

So how can i correct this?

Thanks!Add this into your //includes/templates/cherry_zen/css/stylesheet.css:

     * html #navColumnTwo {
    margin-right: -150px !important;
    }
```It should solve your problem in IE6 :wink:
3 Dec 2007, 5:25 PM
#565
zeb_macahan avatar

zeb_macahan

New Zenner

Join Date:
Dec 2007
Posts:
17
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

I tried it with no sucess unfortunately :no:

I see the template example site the same way in IE6 http://www.cherryzen.jadetrue.com/

all boxes a little bit to the left.

That site dont have the float problem in IE7/firefox though

3 Dec 2007, 10:12 PM
#566
jkeifer avatar

jkeifer

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Zeb Macahan:

I tried it with no sucess unfortunately :no:

I see the template example site the same way in IE6 http://www.cherryzen.jadetrue.com/

all boxes a little bit to the left.

That site dont have the float problem in IE7/firefox though
Oooops! I forgot that I had increased the size of my sideboxes by 20px.
In the css code -150px should be changed to -170px for the standard 150px sideboxes.

So add this code into your css stylesheet instead of the other code from my previous post.:blush:

* html #navColumnTwo {
    margin-right: -170px !important;
    }
```This will fix it.:cool:

Here's my "work-in-progress" site with the default 150px sideboxes width. 
<http://www.swordszilla.com>
4 Dec 2007, 4:18 AM
#567
zeb_macahan avatar

zeb_macahan

New Zenner

Join Date:
Dec 2007
Posts:
17
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

That did the trick! :smile:

Thanks jkeifer :cheers:

4 Dec 2007, 3:13 PM
#568
cmyk avatar

cmyk

New Zenner

Join Date:
Dec 2007
Location:
Sydney Australia
Posts:
21
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Great template thanks to Jade.

After updating to latest version zen cart , my search header and left box seems to let anything that is typed in search run off the search area.

Appreciate it if anyone can tell me how to fix this.

heres my site https://www.techaustralia.com.au/shop

Thanks.

5 Dec 2007, 3:02 AM
#569
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

CMYK:

Great template thanks to Jade.

After updating to latest version zen cart , my search header and left box seems to let anything that is typed in search run off the search area.

Appreciate it if anyone can tell me how to fix this.

heres my site https://www.techaustralia.com.au/shop

Thanks.

I don't see this in Firefox. Which browser?

5 Dec 2007, 3:13 AM
#570
speeds5 avatar

speeds5

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Jade any insight on this? Thank you!

speeds5:

Can someone help with me a quick question. I'm trying to add a page/link to the header bar between "Home" and "Log In" I'm having a little bit of trouble, can someone show me how do this?

The website is http://alboperformance.com

5 Dec 2007, 3:24 AM
#571
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

speeds5:

Jade any insight on this? Thank you!

Open up includes/templates/cherry_zen/common/tpl_header.php and add the link after this:

<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

like this:

<li><a href="link_here.htm">Link Name Here</a></li>

And that's it! You may need to increase the width of #navMain in the css, depending on how long the word your adding is.

5 Dec 2007, 3:46 AM
#572
Join Date:
Nov 2007
Location:
oregon
Posts:
70
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

I don't see this in Firefox. Which browser?

Happens in ie6 just keep typing in the search box my one in the header seems ok but not the one in the right colum just keeps going out of the box

5 Dec 2007, 3:48 AM
#573
speeds5 avatar

speeds5

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

OK that screwed things up for me, what am I missing?

This is the error I'm getting...

"Parse error: parse error, unexpected '?' in /home/alboperf/public_html/includes/templates/cherry_zen/common/tpl_header.php on line 5"

This is what the file looks like.

<?php /** * Common Template - tpl_header.php * * this file can be copied to /templates/your_template_dir/pagename<br />* example: to override the privacy page<BR>* make a directory /templates/my_template/privacy<BR>* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<BR>* to override the global settings and turn off the footer un-comment the following line:<BR>* <BR>* $flag_disable_header = true;<BR>* * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart 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_header.php 4813 2006-10-23 02:13:53Z drbyte $ */ ?> <!--bof-header logo and navigation display--><?php

if (!isset($flag_disable_header) || !$flag_disable_header) {
?><!-- divs for drop shadow -->

<DIV id=nw> <DIV id=ne> <DIV id=se> <DIV id=sw> <DIV id=n> <DIV id=s> <DIV id=w> <DIV id=e> <DIV id=main> <TABLE id=workaround> <TBODY> <TR> <TD> <DIV id=headerWrapper><!--bof-navigation display--> <DIV id=navMainWrapper> <DIV id=navMainSearch><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></DIV> <DIV id=navMain> <UL> <LI><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><SPAN><?php echo HEADER_TITLE_CATALOG; ?></SPAN></A><?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><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?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><A href="link_here.htm">Contact Us</A> <LI><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?php } } ?> <LI><A href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><SPAN><?php echo HEADER_TITLE_CART_CONTENTS; ?></SPAN></A> <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><!--eof-navigation display--><!--bof-branding display--> <DIV class=clearfix id=logoWrapper> <DIV id=logo><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</A>'; ?></DIV><?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <DIV id=taglineWrapper><?php if (HEADER_SALES_TEXT != '') { ?> <DIV id=tagline><?php echo HEADER_SALES_TEXT;?></DIV><?php } ?><?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <DIV class=banners id=bannerTwo><?php echo zen_display_banner('static', $banner);?></DIV><?php } } ?></DIV><?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?></DIV><!--eof-branding display--><!--eof-header logo and navigation display--><!--bof-optional categories tabs navigation display--><?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?> <!--eof-optional categories tabs navigation display--><!--bof-header ezpage links--><?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?><?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?><!--eof-header ezpage links--></DIV><?php } ?></TD></TR></TBODY> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>

jettrue:

Open up includes/templates/cherry_zen/common/tpl_header.php and add the link after this:

<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

like this:

<li><a href="link_here.htm">Link Name Here</a></li>

And that's it! You may need to increase the width of #navMain in the css, depending on how long the word your adding is.

5 Dec 2007, 4:13 AM
#574
speeds5 avatar

speeds5

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Sorry, I had a mistake, but now I think it looks fine and it still now working. The error keeps showing up. What am I doing wrong?

<?php /** * Common Template - tpl_header.php * * this file can be copied to /templates/your_template_dir/pagename<br />* example: to override the privacy page<BR>* make a directory /templates/my_template/privacy<BR>* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<BR>* to override the global settings and turn off the footer un-comment the following line:<BR>* <BR>* $flag_disable_header = true;<BR>* * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart 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_header.php 4813 2006-10-23 02:13:53Z drbyte $ */ ?> <!--bof-header logo and navigation display--><?php

if (!isset($flag_disable_header) || !$flag_disable_header) {
?><!-- divs for drop shadow -->

<DIV id=nw> <DIV id=ne> <DIV id=se> <DIV id=sw> <DIV id=n> <DIV id=s> <DIV id=w> <DIV id=e> <DIV id=main> <TABLE id=workaround> <TBODY> <TR> <TD> <DIV id=headerWrapper><!--bof-navigation display--> <DIV id=navMainWrapper> <DIV id=navMainSearch><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></DIV> <DIV id=navMain> <UL> <LI><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><SPAN><?php echo HEADER_TITLE_CATALOG; ?></SPAN></A> <LI><A href="alboperformance.com/contactus.htm">Contact_Us</A><?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><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?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><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?php } } ?> <LI><A href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><SPAN><?php echo HEADER_TITLE_CART_CONTENTS; ?></SPAN></A> <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><!--eof-navigation display--><!--bof-branding display--> <DIV class=clearfix id=logoWrapper> <DIV id=logo><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</A>'; ?></DIV><?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <DIV id=taglineWrapper><?php if (HEADER_SALES_TEXT != '') { ?> <DIV id=tagline><?php echo HEADER_SALES_TEXT;?></DIV><?php } ?><?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <DIV class=banners id=bannerTwo><?php echo zen_display_banner('static', $banner);?></DIV><?php } } ?></DIV><?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?></DIV><!--eof-branding display--><!--eof-header logo and navigation display--><!--bof-optional categories tabs navigation display--><?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?> <!--eof-optional categories tabs navigation display--><!--bof-header ezpage links--><?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?><?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?><!--eof-header ezpage links--></DIV><?php } ?></TD></TR></TBODY> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>
5 Dec 2007, 5:00 AM
#575
cmyk avatar

cmyk

New Zenner

Join Date:
Dec 2007
Location:
Sydney Australia
Posts:
21
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

jettrue:

I don't see this in Firefox. Which browser?

Hey Jade, thanks for the support on this.

I'm seeing it in IE7 on my laptop and desktop.

Also do you notice the left box search area isn't quite centered, its a little to the right.

5 Dec 2007, 6:19 AM
#576
speeds5 avatar

speeds5

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Jade, I got the link up finally. It took me a while but after trying a few things I finally got it right.

I added a "Contact Us" link at the top bar, not keen of the ezpages bar. So now the link is there and functional, however the text is black in color, and the divider is not there.

How do I fix that?

Thanks very much for your help. Much appreciated.

5 Dec 2007, 9:59 PM
#577
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

speeds5:

Sorry, I had a mistake, but now I think it looks fine and it still now working. The error keeps showing up. What am I doing wrong?

ACK! What the HECK are you using to edit your files? Do you SEE the sheer enormous insane amount of closed divs that weren't there before?

Also, you have messed up PHP coding, see this:

?>

that should be

?>

There's a TON of problems such as that with your coding.
You need a proper file editor, then your issues will go away.

5 Dec 2007, 10:44 PM
#578
speeds5 avatar

speeds5

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

:shocking: I use the stupid hosting company editor. Realized that was screwing things up. So what editor should use? Can you recommend one?

jettrue:

ACK! What the HECK are you using to edit your files? Do you SEE the sheer enormous insane amount of closed divs that weren't there before?

Also, you have messed up PHP coding, see this:

?>

that should be

?>

There's a TON of problems such as that with your coding.
You need a proper file editor, then your issues will go away.

5 Dec 2007, 10:47 PM
#579
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

notepad is good

6 Dec 2007, 12:13 AM
#580
jkeifer avatar

jkeifer

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: Cherry Zen Template Support Thread

Originally Posted by jettrue [IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/viewpost.gif[/IMG]
ACK! What the HECK are you using to edit your files?I couldn't have said it better myself!:lol:

:shocking: I use the stupid hosting company editor. Realized that was screwing things up. So what editor should use? Can you recommend one?I really like notepad2 myself. It gives you line numbers and syntax highlighting, among other things, and handles big files better. Plus, it's free like notepad.

If you have an FTP client like CuteFtp or Filezilla (free), you can log into your web site, right click on your file and edit it directly. Remember to always backup your file though, just in case you screw something up beyond repair (been there, done that before).:wink: