Forums / Addon Templates / "ZenCart Zen" Template Support

"ZenCart Zen" Template Support

Views: 54,138

Results 101 to 120 of 275
20 Apr 2010, 3:31 AM
#101
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

"ZenCart Zen" Template Support

An upgraded version of Zencart Zen Template compatible with ZC v1.3.9 should be available in the downloads section shortly.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2010, 5:49 PM
#102
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Hi. My page validated with no errors before I turned on a banner (banners wide).

Now I am receiving validation errors the first of which is telling me the end tag for body is omitted.

When I check for the </body> in the page source it is indeed missing.

However, when I check for it in includes\templates\zencart_zen\common\tpl_main_page.php, it is still there.

My validation errors all seem to focus on the banner code. I validated my "trainer faqs" page from one of my ez-page liniks and received the following:

Line 429, Column 31: end tag for "body" omitted, but OMITTAG NO was specified

<!--eof- banner #6 display -->

✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 26, Column 1: start tag was here

<body id="pageBody"> Line 429, Column 31: end tag for "html" omitted, but OMITTAG NO was specified <!--eof- banner #6 display --> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 2, Column 1: start tag was here

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> Line 429, Column 30: Premature end of data in tag body line 26 <!--eof- banner #6 display --> ✉ Line 429, Column 30: Premature end of data in tag html line 2 <!--eof- banner #6 display --> ✉

Similar validation errors appear when I validate my home page.

Any clues on how to correct the omission of the </body> tag would be much appreciated.

30 Apr 2010, 5:57 PM
#103
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: "ZenCart Zen" Template Support

notageek:

Hi. My page validated with no errors before I turned on a banner (banners wide).

Now I am receiving validation errors the first of which is telling me the end tag for body is omitted.

When I check for the </body> in the page source it is indeed missing.

However, when I check for it in includes\templates\zencart_zen\common\tpl_main_page.php, it is still there.

My validation errors all seem to focus on the banner code. I validated my "trainer faqs" page from one of my ez-page liniks and received the following:

Similar validation errors appear when I validate my home page.

Any clues on how to correct the omission of the </body> tag would be much appreciated.

link to your site?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2010, 8:27 PM
#104
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Thanks for responding. My site is https://www.riverfrontsouth.com.

30 Apr 2010, 8:39 PM
#105
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: "ZenCart Zen" Template Support

notageek:

Thanks for responding. My site is https://www.riverfrontsouth.com.

I didn't see any validation errors when checking your site.

Which banner are you referring to?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2010, 9:13 PM
#106
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Clyde, it is the wide banner that appears at the top and bottom of my home page and other pages advertising store credit and gift certificate incentives. It is named in the w3c validation as banner #6 and in admin is entitled Store Credit 4. It is the only banner I have turned on in Admin.

I tried to validate again, this time for the home page, and I still come up with the banner-related errors:

Line 448, Column 31: end tag for "body" omitted, but OMITTAG NO was specified

<!--eof- banner #6 display -->

✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 26, Column 1: start tag was here

<body id="indexHomeBody"> Line 448, Column 31: end tag for "html" omitted, but OMITTAG NO was specified <!--eof- banner #6 display --> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 2, Column 1: start tag was here

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> Line 448, Column 30: Premature end of data in tag body line 26 <!--eof- banner #6 display --> ✉ Line 448, Column 30: Premature end of data in tag html line 2 <!--eof- banner #6 display -->
30 Apr 2010, 9:22 PM
#107
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Clyde,
Could it be that since you have checked my site previously when I was looking into banners your version might be loading from cache? If so, perhaps you could compare that version with what comes up now.

30 Apr 2010, 9:37 PM
#108
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Clyde,
Maybe I should mention that the banner doesn't actually work as a banner that takes one somewhere on a click. It is just a picture, actually. I can't say that I comprehend what to do with a banner at this time, but I found it a convenient way to mention store credit.

30 Apr 2010, 9:48 PM
#109
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: "ZenCart Zen" Template Support

notageek:

Clyde,
Maybe I should mention that the banner doesn't actually work as a banner that takes one somewhere on a click. It is just a picture, actually. I can't say that I comprehend what to do with a banner at this time, but I found it a convenient way to mention store credit.

What happens if you disable the banners?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2010, 9:48 PM
#110
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Clyde,
I took some time to look at my banner admin, and for some reason there have been 48 clicks on the banner. Does that mean I should make it interactive somehow. I'm not live yet but maybe some folks are looking at questions I have posted on the forum. I have personally never thought of clicking on my banner. What do people do with such banners? I guess I should research that, but I am just wondering at the moment since it is the subject of validation problems, it seems.

30 Apr 2010, 11:28 PM
#111
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

I disabled the banner and still get the same 4 errors on each of the two pages I tried.

It seems like I should add a closing body tag somewhere.

I just re-uploaded includes/templates/zencart_zen/common/tpl_main_page.php, although it was exactly the same size and date as the file on the site.

Re-validation still shows the 4 errors.

30 Apr 2010, 11:36 PM
#112
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Okay, I see the date of that file is 3/20 and the date of the no error validation was 3/13/10.

I also see that I added a google analytics item to this file, so that the bottom of the common/tpl_main_page.php looks like this:

<!--eof- banner #6 display --> <?php require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); ?> </body>

This seems like the next thing to examine. I will try to investigate what that Google Analytics comment should look like. I do not see an extra space anywhere. I'm not sure what to try next.

Thanks for taking a look. Assuming that is the source of the problem, I will let you know if I find out what is wrong. Thanks.

1 May 2010, 11:35 AM
#113
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: "ZenCart Zen" Template Support

notageek:

Okay, I see the date of that file is 3/20 and the date of the no error validation was 3/13/10.

I also see that I added a google analytics item to this file, so that the bottom of the common/tpl_main_page.php looks like this:

<!--eof- banner #6 display --> <?php require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); ?> </body> ``` > > > This seems like the next thing to examine. I will try to investigate what that Google Analytics comment should look like. I do not see an extra space anywhere. I'm not sure what to try next. > > Thanks for taking a look. Assuming that is the source of the problem, I will let you know if I find out what is wrong. Thanks.

Try removing the </body> from there and re-validate.

Remember, Always BACKUP your files and DB before making any changes!

1 May 2010, 8:07 PM
#114
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Still working on problem.

Removing </body> made no difference, nor did removing the testing mode of Authorize.net.

I found no open <div> tags either; although there was a <div id=main wrapper> code on line 28 of the tpl_main_page without an immediate closing tag, the closing tag did occur further on at line 97.

I have added 2 ez-pages since the 100% validation of 3/13 before I added the Simple Google Analytics module, and I do not see any unclosed html pairs in those. I do see, however, that, while I commented out a line to prevent sanitization of the & so &amp could be used in one of my define pages (which allowed validation), I am still seeing sanitization of the ampersand in the ez-page that has internal links, causing it to revert back to &.

I posted a question as to why the </body> tag would not show in the view source page http://www.zen-cart.com/forum/showthread.php?p=877799#post877799.

I also asked where the </html> code would be found, so I could check that page.

Notageek

19 May 2010, 3:33 AM
#115
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

I found the solution, and posted it in the Simple Google Analytics Support thread, at Post #1245. I'm not sure if the link will work but I think the link to that post is here: http://www.zen-cart.com/forum/showthread.php?p=885774#post885774

Clyde, I really appreciate your tolerance for questions like mine from the uninformed, even when they are not strictly pertaining to your template.

12 Jun 2010, 1:22 AM
#116
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Clyde,

In the process of working with this template on a new site, I upgraded the template of my https://www.riverfrontsouth.com on my WAMP localhost test site which is offline. It replaced my header.php with the template header, and placed the centerbox and right sideboxes (except the words "privacy notice") at the bottom of my site below the left sideboxes. If you want to see this I will be happy to have you Mikogo in to my home computer. I will most likely just uninstall the upgrade unless I find out how to fix this otherwise.

Thanks for the nice template. It really is my favorite.

Notageek, [email protected]

12 Jun 2010, 2:21 AM
#117
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: "ZenCart Zen" Template Support

notageek:

Clyde,

In the process of working with this template on a new site, I upgraded the template of my https://www.riverfrontsouth.com on my WAMP localhost test site which is offline. It replaced my header.php with the template header, and placed the centerbox and right sideboxes (except the words "privacy notice") at the bottom of my site below the left sideboxes. If you want to see this I will be happy to have you Mikogo in to my home computer. I will most likely just uninstall the upgrade unless I find out how to fix this otherwise.

Thanks for the nice template. It really is my favorite.

Notageek, [email protected]

If you want to use your own header graphic etc., just copy those files to the appropriate zencart_zen folder(s).

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 Jun 2010, 4:27 AM
#118
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

Okay. I had done an upgrade, and I was thinking it would not replace code already altered. I will compare the files to see if I can just replace the file with what I had before, or need to manually insert the changes one by one.

Could you also suggest how would I get the site content in the centerbox and right sideboxes back to the top of the page instead of at the bottom of the left sideboxes? There is a huge white space until the end of the left sideboxes.

I tried increasing and reducing page size but the problem persists.

Thanks.

12 Jun 2010, 4:35 AM
#119
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: "ZenCart Zen" Template Support

notageek:

Okay. I had done an upgrade, and I was thinking it would not replace code already altered. I will compare the files to see if I can just replace the file with what I had before, or need to manually insert the changes one by one.

Could you also suggest how would I get the site content in the centerbox and right sideboxes back to the top of the page instead of at the bottom of the left sideboxes? There is a huge white space until the end of the left sideboxes.

I tried increasing and reducing page size but the problem persists.

Thanks.

for this site www. riverfrontsouth. com?

If not without seeing it I really can't give you a solution.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 Jun 2010, 1:40 PM
#120
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: "ZenCart Zen" Template Support

This white space problem is on my WAMP test server offline.

Well, this morning I see the obvious answer is that I have not upgraded my site to 1.3.9.

The uninstall would of course remove the template entirely, so
I will just either restore my test site from a backup or tackle the Zen Cart upgrade. I assume I should restore, do the upgrade, then upgrade the template, then replace the header.php file, in that order.

However, if the template upgrade will add the lines around the various sideboxes, I might prefer to leave the https://www.riverfrontsouth.com site as is.

Will the old 1.3.8 template continue to work with 1.3.9 without the upgrade of the Zencart_Zen template?

If not, how would I remove the outlines for each box to get that "soft," less delineated look?

Or, if they seem okay, will those outlines also appear on the banners which at present do not have outlines?

Thanks.