
Originally Posted by
scisupply
V 1.3.9h with language packs
Eric,
I've spent considerable time trying to troubleshoot a fresh v 1.2.5 install on Zen V 1.3.9h. I've gone through all steps in the install, and I'm having trouble with the step #2. Although I have v 1.3.9h, it is heavily modified, and I cannot locate the following code in /public_html/includes/templates/template_default/common/tpl_main_page.php:
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
* I proceeded through the rest of the steps even though this was missing, and completed the SQL patch install. I entered my analytics account info into the zencart module, and attempted to check status on google analytics page, but it is still saying tracking not installed, which is to be expected given the missing code above.
** The first troubleshooting paragraph deals with this issue, but I'm not able to understand exactly how to proceed, and I'm worried about screwing up the code / site by making an improper change to the tpl_main_page file. I'm not entirely certain about where and how to make the appropriate changes.
Question - Can you please clarify where this change is to be made in my tpl_main_page.php. The way I'm interpreting your instructions, I would add my current body contents to two areas as below, and the file would look like below after modification:
<?php
if($page_directory == 'includes/modules/pages/checkout_success')
{
echo '<***PLACE MY BODY CONTENTS HERE*** onLoad="javascript:__utmSetTrans()">'; }
else
{
echo '<***PLACE MY BODY CONTENTS HERE***>';} ?>
THANK YOU VERY MUCH FOR THIS GREAT CONTRIBUTION. I appreciate any help you can offer in getting it successfully installed...