Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tags SEO


Jack_mcs

Recommended Posts

Hello, sorry for my english.

 

I have oscommerce 2.2RC2, no templates, with some installed contributions.

 

I have installed this contribution and is allright but i have a problem. In the product info screen, the column right dont appear, and appear under the column left. I'm reading the topic but i dont find the solution.

 

Thanks!

Edited by kahlo
Link to comment
Share on other sites

I have oscommerce 2.2RC2, no templates, with some installed contributions.

 

I have installed this contribution and is allright but i have a problem. In the product info screen, the column right dont appear, and appear under the column left. I'm reading the topic but i dont find the solution.

You made a mistake in the edits. A completed file is included so you can compare agasint yours to find such problems.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Please help! In that pass, in that archive or where the problem can be? I am lost :(

 

Give me a track...

A complete set of completed files is included in the contribution package. Use a program like WinMerge and compare your files to them to find the problem.

Edited by Jack_mcs

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Okay, I guess you are talking about the clean install folder. Thanks for your help. I'll will use WinMerge to find the syntax error.

 

batchos

 

Here an update on this post:

 

There was no problem with the changes made to the code. After pulling my hair out, I went back to the Fill Tags option and checked the 'Fill only Empty Tags boxes'. I ran the Test again and the error message disappeared forever, I hope.

 

I trust this was a safe way to fix the problem.

 

Thanks

 

batchos

Link to comment
Share on other sites

A complete set of completed files is included in the contribution package. Use a program like WinMerge and compare your files to them to find the problem.

 

 

I compare and I do some changes, the column now appear but the contribution MorePics desapear... :(

Please help me! :(

 

This is my product info code:

 

<?php
/*
 $Id: product_info.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

 $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
 $product_check = tep_db_fetch_array($product_check_query);

// BOF: More Pics 6
if (MOPICS_TABLE_LOCATION=='above' && !empty($mopics_output)) {
  echo '          <table width="100%" border="0" cellspacing="0" cellpadding="0">
           <tr>
             <td align="center" class="smallText">'.$mopics_output.'</td>
           </tr>
         </table>
	   <br>'."\n";
} else if (MOPICS_TABLE_LOCATION=='sides' && !empty($mopics_output)) {
  echo $mopics_output;
}
// EOF: More Pics 6
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<?php
/*** Begin Header Tags SEO ***/
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
 require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?>
 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
 <title><?php echo TITLE; ?></title>
<?php
}
/*** End Header Tags SEO ***/
?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
function popupWindow(url) {
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<?php /*** Begin Header Tags SEO ***/ ?>
<a name="<?php echo $header_tags_array['title']; ?>"></a>
<?php /*** End Header Tags SEO ***/ ?>

<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->
   <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
 if ($product_check['total'] < 1) {
?>
     <tr>
       <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
               <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
<?php
 } else {
   $product_info_query = tep_db_query("select p.products_subimage1, p.products_subimage2, p.products_subimage3, p.products_subimage4, p.products_subimage5, p.products_subimage6, p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
   $product_info = tep_db_fetch_array($product_info_query);

   tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");

   if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
     $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
   } else {
     $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
   }

   if (tep_not_null($product_info['products_model'])) {

$products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
   } else {
     $products_name = $product_info['products_name'];
   }


// BOF: More Pics 6

   $mopics_image_width = (MOPICS_RESTRICT_IMAGE_SIZE=='true'?SMALL_IMAGE_WIDTH:'');
   $mopics_image_height = (MOPICS_RESTRICT_IMAGE_SIZE=='true'?SMALL_IMAGE_HEIGHT:'');

   if (MOPICS_SHOW_ALL_ON_PRODUCT_INFO=='true') {

     $mopics_output = '';
     $mo_row = 1;
     $mo_col = 1;

     $mopics_images = array();
     if (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT == 'false' && MOPICS_GROUP_WITH_PARENT == 'true') { $mopics_images[] = $product_info['products_image']; }
     for ( $mo_item=1; $mo_item<7; $mo_item++ ) {
       if (tep_not_null($product_info['products_subimage'.$mo_item])) { $mopics_images[] = $product_info['products_subimage'.$mo_item]; }
     }
     $mopics_count = sizeof($mopics_images);

     if ($mopics_count > 0) { 

    $mopics_output .= '<table border="0" cellspacing="0" cellpadding="6" align="'.MOPICS_TABLE_ALIGNMENT.'">';

       for ( $mo_item=0; $mo_item<$mopics_count; $mo_item++ ) {

         if ($mo_row<(MOPICS_NUMBER_OF_ROWS+1)) {
   	    if ($mo_col==1) {$mopics_output.='<tr>'."\n";}

           $mopics_output .= '              <td align="center" class="smallText"><script language="javascript"><!--
               document.write(\'<a href="javascript:popupWindow(\\\''. tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'].'&invis='.(MOPICS_GROUP_WITH_PARENT=='true'?$mo_item:($mo_item+1))).'\\\')">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_width), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_height), 'hspace="5" vspace="5"') . '<br><img border=0 src=images/zoom.gif></a>\');
               //--></script><noscript>
                 <a href="' . tep_href_link(DIR_WS_IMAGES . $mopics_images[$mo_item]) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '<br><img border=0 src=images/zoom.gif></a>
                 </noscript></td>'."\n";

   	    if ($mo_col==MOPICS_NUMBER_OF_COLS) { $mo_col=1; $mo_row++; $mopics_output.='</tr>'."\n"; } else { $mo_col++; }
         }

       }  
       if ($mo_col!=1){ while (($mo_col++)<(MOPICS_NUMBER_OF_COLS+1)) { $mopics_output.='<td> </td>'; } $mopics_output.='</tr>'."\n"; }

       $mopics_output .= '</table>'."\n"; 

  }

   }

// EOF: More Pics 6	

?>


     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <?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 ***/ ?>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td class="main">
<?php
   if (tep_not_null($product_info['products_image'])) {
?>
         <table border="0" cellspacing="0" cellpadding="2" align="right">
           <tr>
             <td align="center" class="smallText">
<script language="javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br><img border=0 src=images/zoom.gif></a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br><img border=0 src=images/zoom.gif></a>'; ?>
</noscript>
             </td>
           </tr>
         </table>
<?php
   }
?>
         <p><?php echo stripslashes($product_info['products_description']); ?></p>
<?php
   $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");
   $products_attributes = tep_db_fetch_array($products_attributes_query);
   if ($products_attributes['total'] > 0) {
?>
         <table border="0" cellspacing="0" cellpadding="2">
           <tr>
             <td class="main" colspan="2"><?php echo TEXT_PRODUCT_OPTIONS; ?></td>
           </tr>
<?php
     $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");
     while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
       $products_options_array = array();
       // BOE: Attribute Sort with Clone Tool
       $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pa.attribute_sort");
// EOE: Attribute Sort with Clone Tool
       while ($products_options = tep_db_fetch_array($products_options_query)) {
         $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);
         if ($products_options['options_values_price'] != '0') {
           $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
         }
       }

       if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
         $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
       } else {
         $selected_attribute = false;
       }
?>
           <tr>
             <td class="main"><?php 
echo $products_options_name['products_options_name'] . ':'; ?></td>
             <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
           </tr>
<?php
     }
?>
         </table>
<?php
   }

// BOF: More Pics 6
if (MOPICS_TABLE_LOCATION=='below' && !empty($mopics_output)) {
  echo ' <br>
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
           <tr>
             <td align="center" class="smallText">'.$mopics_output.'</td>
           </tr>
         </table>'."\n";
}
// EOF: More Pics 6
?>					

       </td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
   $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
   $reviews = tep_db_fetch_array($reviews_query);
   if ($reviews['count'] > 0) {
?>
     <tr>
       <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
   }

   if (tep_not_null($product_info['products_url'])) {
?>
     <tr>
       <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
   }

   if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
?>
     <tr>
       <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
     </tr>
<?php
   } else {
?>
     <tr>
       <td align="center" class="smallText"><?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
     </tr>

<?php
   }
?>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
               <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
               <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>

<!--- BEGIN Header Tags SEO Social Bookmarks -->
     <?php if (HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS == 'true')
      include(DIR_WS_MODULES . 'header_tags_social_bookmarks.php');
     ?>
     <!--- END Header Tags SEO Social Bookmarks -->
     <tr>
       <td>
<?php
   if ((USE_CACHE == 'true') && empty($SID)) {
     echo tep_cache_also_purchased(3600);
   } else {
     include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
   }
 }
?>
       </td>
     </tr>
   </table></form></td>

<!-- body_text_eof //-->

<?php /*** Begin Header Tags SEO ***/ ?>
     <tr>
      <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
      <td class="smallText" align="center"><?php echo TEXT_VIEWING; ?> 
      <?php echo '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title']; ?></a></td>
     </tr>
     <?php /*** End Header Tags SEO ***/ ?>

</table></form></td>
<!-- body_text_eof //-->

   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
   </table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Link to comment
Share on other sites

I compare and I do some changes, the column now appear but the contribution MorePics desapear... :(

Please help me! :(

I'm sorry but I don't offer free individual support to that extent.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I'm sorry but I don't offer free individual support to that extent.

 

This code is the product info after install the contribution headertags, when the column right dissapear. No is the code of the problem with morepics, is the code for the problem of the columns.

Link to comment
Share on other sites

This code is the product info after install the contribution headertags, when the column right dissapear. No is the code of the problem with morepics, is the code for the problem of the columns.

 

Perfect, I compare code to code and change some and this allright now. Thnaks!

Link to comment
Share on other sites

I have this contribution installed and have used it to fill tags but am getting reports from Websitegrader and W3C validation do not see any headings - h1, h2, etc.

 

I don't know what I'm doing wrong. I would like to have the categories in h1 and the product names in h2.

 

Thanks in advance!

Link to comment
Share on other sites

I have this contribution installed and have used it to fill tags but am getting reports from Websitegrader and W3C validation do not see any headings - h1, h2, etc.

 

I don't know what I'm doing wrong. I would like to have the categories in h1 and the product names in h2.

 

Thanks in advance!

Use the browsers view source to see if the headings are usig h1. If not, you'v emade a mistake in the installation.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Use the browsers view source to see if the headings are usig h1. If not, you'v emade a mistake in the installation.

 

 

Thanks Jack, There are no h1 tags in my source. My site is so heavily modified I could have installed a mod that wrote over the code for this mod. I'll review the installation...

Link to comment
Share on other sites

Install to existing RC2 with other contributions and having issues with non-contribution pages.

When I go to admin Page Control, I select my FAQ.php page and make the changes and apply without issues. I took the FAQ.PHP file and made a copy FAQ_copy.php

I edited /includes/filenames.php to include the FAQ_Copy.php file and created a copy of /includes/languages/english/FAQ.php to be faq_copy.php.

I then went back to the admin Page Control and did the "Add Missing Pages." And my FAQ_copy.php is listed. I entered the Title, Desc, and Keywords and hit apply.

when I open the page, there is not title, desc, or keywords. In the Admin Page Control it shows my entries, but then click the "View Results" and the results are red boxes. I go to admin Test and it shows the entries "From Settings", but then shows RED blocks for the "From Site"

How do I get added pages that are not part of OSCommerce Core contributions to work like the standard files?

Link to comment
Share on other sites

It's not a problem. The description should be the same in that case. Google is just letting you know it exists.

 

I thought that it wasn't a good thing for google to have duplicate titles and duplicate metadescriptions, and this is what happens with product listing pages and with all products pages. By the way, I think there is an oscommerce add on to solve this problem in all products pages.

 

Thanks all the same.

Link to comment
Share on other sites

Install to existing RC2 with other contributions and having issues with non-contribution pages.

When I go to admin Page Control, I select my FAQ.php page and make the changes and apply without issues. I took the FAQ.PHP file and made a copy FAQ_copy.php

I edited /includes/filenames.php to include the FAQ_Copy.php file and created a copy of /includes/languages/english/FAQ.php to be faq_copy.php.

I then went back to the admin Page Control and did the "Add Missing Pages." And my FAQ_copy.php is listed. I entered the Title, Desc, and Keywords and hit apply.

when I open the page, there is not title, desc, or keywords. In the Admin Page Control it shows my entries, but then click the "View Results" and the results are red boxes. I go to admin Test and it shows the entries "From Settings", but then shows RED blocks for the "From Site"

How do I get added pages that are not part of OSCommerce Core contributions to work like the standard files?

The way you describe it, the only cause, that I can think of, is that the includes/header_tags.php file does not have the page listed corrected. Check that file to be sure there is an entry for that page and the FILENAME_FAQ_COPY entry matches what is in includes/filenames.php.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I thought that it wasn't a good thing for google to have duplicate titles and duplicate metadescriptions, and this is what happens with product listing pages and with all products pages. By the way, I think there is an oscommerce add on to solve this problem in all products pages.

 

Thanks all the same.

You're probably thinking of duplicate content, which is already handled by this contribution. Duplicate content refers to the content of the page that the customers see. Duplicate titles and meta tags are fine, especially in such a case as this.

Edited by Jack_mcs

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The way you describe it, the only cause, that I can think of, is that the includes/header_tags.php file does not have the page listed corrected. Check that file to be sure there is an entry for that page and the FILENAME_FAQ_COPY entry matches what is in includes/filenames.php.

 

I figured out what was going on, I needed to have the file includes/languages/english/FAQ_copy.php created properly. I found that I named the file FAQ-copy.php.

 

so for others to understand.

Update includes/filenames.php to show the VARIABLE you will set for your new file and the name of file.

Create includes/languages/your_language/your_filename.php

Update your display file for the required:

require(DIR_WS_LANGUAGES . $language . '/' . VARIABLE_YOU_CALLED_IN_THE_FILENAMES.PHP);

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(VARIABLE_YOU_CALLED_IN_THE_FILENAMES.PHP));

 

Then go to admin/Page Options and "Add Missing Pages"

Then select your new page and edit as needed.

Link to comment
Share on other sites

I need some help or suggestion here:

 

For the products_info.php pages all works fine.

But creating any other page with multilanguage doesnt work.

For example creating a page notebooks.php

 

english(good):

<head>
<title>NOTEBOOKS | at best price !</title>
<meta name="Description" content="Samsung Galaxy Tablet on sale, best price." >
<meta name="Keywords" content="notebooks,Galaxy Tab,buy,sale,price,accessories,reviews" >
<meta http-equiv="Content-Language" content="en" >
<meta name="robots" content="noodp" >
<meta name="slurp" content="noydir" >
<link rel="canonical" href="http://www.www.myweb.com/notebooks.php" >

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >

 

 

spanish(bad):

<head>
<title>at best price !</title>
<meta name="Description" content="on sale, best price." >
<meta name="Keywords" content="buy,sale,price,accessories,reviews" >
<meta http-equiv="Content-Language" content="en" >
<meta name="robots" content="noodp" >
<meta name="slurp" content="noydir" >
<link rel="canonical" href="http://www.myweb.com/es/es" >

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >

 

All info of the other fields are empty and the canonical is also wrong (like myweb . com/es/es)

¿?

 

Speaking with Robert Fisher "FWR" said me that the problem would be in the Header Tags contribution.

I have USU5 PRO and Header Tags v.3, I dont know these are multilenguage compatibles.

Edited by bhbilbao
Link to comment
Share on other sites

I need some help or suggestion here:

 

For the products_info.php pages all works fine.

But creating any other page with multilanguage doesnt work.

For example creating a page notebooks.php

If the languages work fine for products, then there is a mistake in how you added the new page or you haven't filled in the other languages in Page Control. If the title and tags data show up for both languages in Page Control, then the problem is on the shop side with code you added.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi,

 

I have been trying to install header tags on my site for the last few hours. I downloaded the Header Tags Add On, followed all the directions and I get the below warning message. Can anyone help me with this?

 

 

Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/sweets/public_html/headertags_seo_install.php on line 13

 

Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/sweets/public_html/headertags_seo_install.php on line 13

 

Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sweets/public_html/headertags_seo_install.php on line 13

Link to comment
Share on other sites

Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/sweets/public_html/headertags_seo_install.php on line 13

Yhe error is saying the includes/application_top.php file can't be found. You must have deleted or damaged it in some way with the edits. You'll need to reload your original and reapply the edits to it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I just update from 3.2.3 to 3.2.5 because manufacturer are not show on title, but after upgrade HTS manufacturer still not show on title.

Check the manufacturers in admin. If the data is there, then there is some problem on the shop side - either the index.php or includes/application_top.php file. If the data isn't there, then try running fill tags again and/or entering the data in the manufacturers edit page.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I know this is a really old thread but I upgraded to the latest SEO URL's and had the problem of my right column dropping to the bottom of the page in Internet Explorer. I have an English/Spanish Osc site. The last version I had installed was In "Ultimate_SEO_URLs_v2-2.2eFIXED" and since the newer version didn't have any actual files most of the original files stayed put. Anyhoo, my problem was the code from "Install_Catalog.txt" It said to add the following in in "Product_Info.php":

==

  FIND (around line 240)

   </table></form></td>
<!-- body_text_eof //-->


  ADD ABOVE it:

     <?php /*** Begin Header Tags SEO ***/ ?>
     <tr>
      <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
      <td class="smallText" align="center"><?php echo TEXT_VIEWING; ?> 
      <?php echo '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title']; ?></a></td>
     </tr>
     <?php /*** End Header Tags SEO ***/ ?>

  NOTE 1: The placement of this is not critical. Anywhere neat the bottom of the 
          page is fine. You can also change or remove the TEXT_VIEWING text to 
          fit your site.

  NOTE 2: If you are using STS and a product_info template, use this code instead:

    <table width="794" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
      <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
      <td class="smallText" align="center">$text_viewing  $text_viewing_title</td>
     </tr>
     <!--- BEGIN Header Tags SEO Social Bookmarks -->
    </table>

==

I only had the appropriate part before the "Notes" but I commented it out and the right column popped back into place in Internet Explorer. Hope this helps someone.

 

Thanks Jack. Managed to figure that out now. phew...

 

I have installed the latest version of HT SEO on a fresh OSC site and it seems that the product_info page is misaligned. The right column is being pushed to the centre bottom of the page and the description tag appears on the row that has My Account, Cart Contents...

 

This is the first time I have tried this contribution and not sure if it meant to be this way?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...