cms08 Posted June 17, 2008 Share Posted June 17, 2008 I just installed the newest version of this contrib and have done nothing but what the installation instructions told me to do. Im seeing the default header tags in all the pages except for the home page index.php (I tried adding them in the admin but nothing shows but the default store name in the tab) I can see them on index.php/cPath/1 etc.. or products.php Was there something I had to do to get it to show up on other pages? has anyone found any error in the new download? I use the sts system (the tags didnt work with it on or off for the index page) This is what the instruction had me install on the index page <?php /*** Begin Header Tags SEO ***/ ?> <td><h1><?php echo $category['categories_htc_title_tag']; ?></h1></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($category['categories_htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><h2><?php echo $category['categories_htc_description']; ?></h2></td> </tr> <?php } when do I fallow these instruction ? 4) In product_info.php FIND (around line 33) <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> ADD UNDER IT: <?php /*** Begin Header Tags SEO ***/ ?> <a name="<?php echo $header_tags_array['title']; ?>"></a> <?php /*** End Header Tags SEO ***/ ?> ============================================= FIND (around line 102) <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> REPLACE with <?php /*** Begin Header Tags SEO ***/ ?> <td valign="top"><h1><?php echo $products_name; ?></h1></td> <td align="right" valign="top"><h1><?php echo $products_price; ?></h1></td> <?php /*** End Header Tags SEO ***/ ?> NOTE: In any page in which you make the change to the title for Header Tags, you should also locate the line containing HEADING_TITLE, remove the pageHeading class and add the h1 tags as above. Quote Link to comment Share on other sites More sharing options...
nusar Posted July 13, 2008 Share Posted July 13, 2008 (edited) I just installed the newest version of this contrib and have done nothing but what the installation instructions told me to do. Im seeing the default header tags in all the pages except for the home page index.php (I tried adding them in the admin but nothing shows but the default store name in the tab) I can see them on index.php/cPath/1 etc.. or products.php Was there something I had to do to get it to show up on other pages? has anyone found any error in the new download?I use the sts system (the tags didnt work with it on or off for the index page) This is what the instruction had me install on the index page <?php /*** Begin Header Tags SEO ***/ ?> <td><h1><?php echo $category['categories_htc_title_tag']; ?></h1></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($category['categories_htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><h2><?php echo $category['categories_htc_description']; ?></h2></td> </tr> <?php } when do I fallow these instruction ? 4) In product_info.php FIND (around line 33) <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> ADD UNDER IT: <?php /*** Begin Header Tags SEO ***/ ?> <a name="<?php echo $header_tags_array['title']; ?>"></a> <?php /*** End Header Tags SEO ***/ ?> ============================================= FIND (around line 102) <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> REPLACE with <?php /*** Begin Header Tags SEO ***/ ?> <td valign="top"><h1><?php echo $products_name; ?></h1></td> <td align="right" valign="top"><h1><?php echo $products_price; ?></h1></td> <?php /*** End Header Tags SEO ***/ ?> NOTE: In any page in which you make the change to the title for Header Tags, you should also locate the line containing HEADING_TITLE, remove the pageHeading class and add the h1 tags as above. Did you resolve your problem ? I am having the same issue with a past version of HTC. I would be greatly interested if you have an answer. Edited July 13, 2008 by nusar Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.