Zen Follower
- Join Date:
- Mar 2009
- Posts:
- 418
- Plugin Contributions:
- 0
no "body" tag in view source after installing the Simple Google Analytics module
Hi. I had no validation errors before installing the Simple Google Analytics module. Now there is no </body> code and no </html> code on my home page "view source." My includes/templates/MYTEMPLATE/common/tpl_main_page.php does have the </body> tag right after the added Google Analytics code.
The tpl_main_page.php last lines are these:
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof- banner #6 display --> <?php require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); ?> </body>
The W3C Validator correctly finds no </body> code, which really is absent from view source; and it also finds no </html> but that is not in the tpl_main_page.php template either.
Validation errors seem fairly easy to spot in define pages, but it is really puzzling why there is no </body> tag showing up on the view source. Is that normal?
I never thought to check for that previously, so I do not know if it ever was there in the source code of the web page when my page validated correctly. Should I be worried about this?
And what would be the Zen Cart source file for seeing the </html> tag?
My website is https://www.riverfrontsouth.com. I have turned the banner on and off and that makes no difference in the validation result.
Thanks for any ideas.