Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Header Tags Controller for Admin MS 2.2


Farrukh

Recommended Posts

i seen this site (i will assume (s)he is using this contribution, as i got this url from this support thread:

http://funjumping.de/shop/glycolic-polymer...ion-10-p-2.html

 

they seem to have their item name in their title bar (which is what i have been trying to do), my title bar only has the category the item belongs to, for example:

 

category: ac/dc shirts

item name: ac/dc back in black shirt

title bar for item: ac/dc shirts :: my webstore name

 

this is what i WANT it to do:

title bar for item: ac/dc back in black shirt :: my webstore name

By default, the product name is used for the title. You can go into admn->cataglog and edit the title tag for the product to say what you want. However, I do not recommend it since it will most likely lower the rank you get for that page.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • Replies 4.6k
  • Created
  • Last Reply

Top Posters In This Topic

As I see "fill_tags.php" is no longer used, you've replaced it with admin/header_tags_fill_tags.

When I use this new file from Admin, I get the product_title benneath the same product_title when using advanced search results or manufacturers_id because I'm using "kurzschreibung" contrib. too.

 

If I point .../admin/fill_tags.php to run, then I get correctly product_listing with a short description benneath the product_tilte at product_listing of advanced search results.

 

?What's going on?

 

Regards, Andres

http://www.elbuenlibro.com/bookstore/index...facturers_id=10

The same code is used for both mehods so I can't imagine why one would work and not the other. But if using the fill tags file works for you, then you should use it.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The same code is used for both mehods so I can't imagine why one would work and not the other. But if using the fill tags file works for you, then you should use it.

 

Jack

 

This the code I have for fill_tags.php

 

<?php
/*
 $Id: links_setup.php,v 1.00 2003/10/02 Exp $

 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');

 $nameContribution = 'Header Tags Controller';
 
 $stage_one_query_raw = "select products_name, products_description, products_id, language_id from products_description";
 $stage_one_query = tep_db_query($stage_one_query_raw);
 while ($stage_one = tep_db_fetch_array($stage_one_query)) {
   tep_db_query("update products_description set products_head_title_tag='".addslashes($stage_one['products_name'])."', products_head_desc_tag = '". addslashes(strip_tags($stage_one['products_description']))."', products_head_keywords_tag =  '" . addslashes($stage_one['products_name']) . "' where products_id = '" . $stage_one['products_id'] . "' and language_id='".$stage_one['language_id']."'");
 }

 $languages = tep_get_languages();
 for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
   $categories_query_raw = "select categories_id, categories_name, language_id from categories_description where language_id='". (int)$languages[$i]['id']."'";
   $categories_query = tep_db_query($categories_query_raw);
   if (tep_db_num_rows( $categories_query) > 0) {
     while ($categories = tep_db_fetch_array($categories_query)) {
       tep_db_query("update categories_description set categories_htc_title_tag='".addslashes($categories['categories_name'])."', categories_htc_desc_tag = '". addslashes($categories['categories_name'])."', categories_htc_keywords_tag = '". addslashes($categories['categories_name']) . "' where categories_id = '" . $categories['categories_id']."'");
     }
   }
 }
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/general.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table class="okvir" border="0" cellspacing="0" cellpadding="0" align="center">
 <tr>
   <td>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo $nameContribution . ' Fill Tags Setup'; ?></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td class="main">
        <?php 
          if ($db_error == false) {
            echo $nameContribution . ' tags successfully updated!!!';
          } else {
            echo 'Error encountered during ' . $nameContribution . ' database update.';
          }
        ?>
       </td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td>
     </tr>
     <tr>
      <td><a target="_blank" href="http://www.oscommerce-solution.com"> Prepared by osCommerce-Solution.com</a></td>
     </tr>
   </table></td>
<!-- body_eof //-->

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

 

and this is Header_tags_fill_tags.php

<?php
/*
 $Id: header_tags_fill_tags.php,v 1.0 2005/08/25
 Originally Created by: Jack York - http://www.oscommerce-solution.com
 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_HEADER_TAGS_CONTROLLER);

 /****************** READ IN FORM DATA ******************/
 $categories_fill = $_POST['group1'];
 $products_fill = $_POST['group2'];
 
 $checkedCats = array();
 $checkedProds = array();
 
 $languages = tep_get_languages();
 $languages_array = array();
 for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
   $languages_array[] = array('id' => $i + 1, //$languages[$i]['id'],
                              'text' => $languages[$i]['name']);
 }
 $langID = $languages_id;
 
 /****************** FILL THE CATEGORIES ******************/
  
 if (isset($categories_fill))
 {
   $langID = $_POST['fill_language'];
   
   if ($categories_fill == 'none') 
   {
      $checkedCats['none'] = 'Checked';
   }
   else
   { 
     $categories_tags_query = tep_db_query("select categories_name, categories_id, categories_htc_title_tag, categories_htc_desc_tag, categories_htc_keywords_tag, language_id from categories_description where language_id = '" . $langID . "'");
     while ($categories_tags = tep_db_fetch_array($categories_tags_query))
     {
       $updateDP = false;
       
       if ($categories_fill == 'empty')
       {
          if (! tep_not_null($categories_tags['categories_htc_title_tag']))
            $updateDB = true;
          $checkedCats['empty'] = 'Checked';
       }
       else if ($categories_fill == 'full')
       {
          $updateDB = true;
          $checkedCats['full'] = 'Checked';
       }
       else      //assume clear all
       {
          tep_db_query("update categories_description set categories_htc_title_tag='', categories_htc_desc_tag = '', categories_htc_keywords_tag = '' where categories_id = '" . $categories_tags['categories_id']."' and language_id  = '" . $langID . "'");
          $checkedCats['clear'] = 'Checked';
       }
          
       
       if ($updateDB)
         tep_db_query("update categories_description set categories_htc_title_tag='".addslashes($categories_tags['categories_name'])."', categories_htc_desc_tag = '". addslashes($categories_tags['categories_name'])."', categories_htc_keywords_tag = '". addslashes($categories_tags['categories_name']) . "' where categories_id = '" . $categories_tags['categories_id']."' and language_id  = '" . $langID . "'");
     }
   }
 }
 else
   $checkedCats['none'] = 'Checked';
  
 /****************** FILL THE PRODUCTS ******************/  

 
 if (isset($products_fill))
 {
   $langID = $_POST['fill_language'];
   
   if ($products_fill == 'none') 
   {
      $checkedProds['none'] = 'Checked';
   }
   else
   { 
     $products_tags_query = tep_db_query("select products_name, products_description, products_id, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, language_id from " . TABLE_PRODUCTS_DESCRIPTION . " where language_id = '" . $langID . "'");
     while ($products_tags = tep_db_fetch_array($products_tags_query))
     {
       $updateDP = false;
       
       if ($products_fill == 'empty')
       {
         if (! tep_not_null($products_tags['products_head_title_tag']))
           $updateDB = true;
         $checkedProds['empty'] = 'Checked';
       }
       else if ($products_fill == 'full')
       {
         $updateDB = true;
         $checkedProds['full'] = 'Checked';
       }
       else      //assume clear all
       {
         tep_db_query("update products_description set products_head_title_tag='', products_head_desc_tag = '', products_head_keywords_tag =  '' where products_id = '" . $products_tags['products_id'] . "' and language_id='". $langID ."'");
         $checkedProds['clear'] = 'Checked';
       }
     
       if ($updateDB)
         tep_db_query("update products_description set products_head_title_tag='".addslashes($products_tags['products_name'])."', products_head_desc_tag = '". addslashes(strip_tags($products_tags['products_name']))."', products_head_keywords_tag =  '" . addslashes($products_tags['products_name']) . "' where products_id = '" . $products_tags['products_id'] . "' and language_id='". $langID ."'");
     }  
   }
 }
 else
   $checkedProds['none'] = 'Checked';

?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<style type="text/css">
td.HTC_Head {color: sienna; font-size: 24px; font-weight: bold; } 
td.HTC_subHead {color: sienna; font-size: 14px; } 
</style>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
     <td class="HTC_Head"><?php echo HEADING_TITLE_FILL_TAGS; ?></td>
    </tr>
    <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
    <tr>
     <td class="HTC_subHead"><?php echo TEXT_FILL_TAGS; ?></td>
    </tr>
    
    <!-- Begin of Header Tags -->      
    
    <tr>
     <td align="right"><?php echo tep_draw_form('header_tags', FILENAME_HEADER_TAGS_FILL_TAGS, '', 'post') . tep_draw_hidden_field('action', 'process'); ?></td>
      <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    </tr>
    <tr>
     <td class="main" ><?php echo 'Language' . ' '. tep_draw_pull_down_menu('fill_language', $languages_array, $langID);?></tr>
    </tr>     
      <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      
      <tr>
       <td><table border="0" width="40%">
        <tr class="smallText">
         <th>CATEGORIES</th>
         <th>PRODUCTS</th>
        </tr> 
        <tr class="smallText">          
         <td align=left><INPUT TYPE="radio" NAME="group1" VALUE="none" <?php echo $checkedCats['none']; ?>> Skip all tags</td>
         <td align=left><INPUT	TYPE="radio" NAME="group2" VALUE="none" <?php echo $checkedProds['none']; ?>> Skip all tags</td>
        </tr>
        <tr class="smallText"> 
         <td align=left><INPUT TYPE="radio" NAME="group1" VALUE="empty"<?php echo $checkedCats['empty']; ?> > Fill only empty tags</td>
         <td align=left><INPUT	TYPE="radio" NAME="group2" VALUE="empty" <?php echo $checkedProds['empty']; ?>> Fill only empty tags</td>
        </tr>
        <tr class="smallText"> 
         <td align=left><INPUT	TYPE="radio" NAME="group1" VALUE="full" <?php echo $checkedCats['full']; ?>> Fill all tags</td>
         <td align=left><INPUT	TYPE="radio" NAME="group2" VALUE="full" <?php echo $checkedProds['full']; ?>> Fill all tags</td>
        </tr>
        <tr class="smallText"> 
         <td align=left><INPUT	TYPE="radio" NAME="group1" VALUE="clear" <?php echo $checkedCats['clear']; ?>> Clear all tags</td>
         <td align=left><INPUT	TYPE="radio" NAME="group2" VALUE="clear" <?php echo $checkedProds['clear']; ?>> Clear all tags</td>
        </tr>
       </table></td>
      </tr> 
      
      <tr>
       <td><table border="0" width="40%">
        <tr>
         <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
        </tr>
        <tr> 
         <td align="center"><?php echo (tep_image_submit('button_update.gif', IMAGE_UPDATE) ) . ' <a href="' . tep_href_link(FILENAME_HEADER_TAGS_ENGLISH, tep_get_all_get_params(array('action'))) .'">' . '</a>'; ?></td>
        </tr>
       </table></td>
      </tr>
     </form>
     </td>
    </tr>
    <!-- end of Header Tags -->

        
   </table></td>
<!-- body_text_eof //-->
 </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'); ?>

 

?Did I copy something wrong?

 

Regards,

Andres

Link to comment
Share on other sites

By default, the product name is used for the title. You can go into admn->cataglog and edit the title tag for the product to say what you want. However, I do not recommend it since it will most likely lower the rank you get for that page.

 

Jack

 

 

that's what i want, the product name as the title... but it's showing category instead. what should i look for in my configuration or source codes?

 

i seem to have maybe missed an edit or have something mis-configured, because the settings you say default, aren't default for me

Link to comment
Share on other sites

okay i think i may know why i'm having problems. i have blueyon's SEO friendly URL's mod too; which combines index.php and products_info.php

 

would somebody be willing to look at my source files via ftp to see if there's a way i can get this to work 100%?

Link to comment
Share on other sites

i think i have come across something that may be useful to many of you, i have tested it, and it works seamlessly.

this minor fix adds the full meta tags, that many smaller and older search engines need to index your site better. (do a google search if you want to know more about it, it's a bit too much to type why using these full meta tags will do nothing but help your site be indexed by more search engines)

 

in includes/header_tags.php, look for the: echo ' <title>' . $tags_array['title'] . '</title>' . "\n";

line and replace everything starting from that line, to ?>

with:

 

echo '<title>' . $tags_array['title'] . '</title>' . "\n";
echo '<META HTTP-EQUIV="Content-Type" content="text/html; charset=' . CHARSET  . '">'."\n";
echo '<META NAME="Copyright" content="YOUR_BUSINESS">'."\n";
echo '<META HTTP-EQUIV="content-language" content="EN">'."\n";
echo '<META NAME="Rating" content="General">'."\n";
echo '<META NAME="Designer" content="YOUR_DESIGNER">'."\n";
echo '<META NAME="Keywords" CONTENT="' . $tags_array['keywords'] . '">' . "\n";
echo '<META NAME="Abstract" content="SHORT_DESC_OF_YOUR_OVERALL_SITE">'."\n";
echo '<META NAME="Title" content="' . $tags_array['title'] . '">'."\n";
echo '<META NAME="revisit-after" content="7">'."\n";
echo '<META NAME="Robots" content="index,follow">'."\n";
echo '<META NAME="Description" Content="' . $tags_array['desc'] . '">' . "\n";
echo '<META HTTP-EQUIV="Cache-Control" content="no-cache">'."\n";
echo '<META HTTP-EQUIV="Expires" content="0">'."\n";
echo '<META NAME="Author" content="YOUR_NAME">'."\n";
//NOTE: If you want your email add to your source code, remove the two slashes on the 
//following line of code. This serves no useful purpose and is not suggested tobe used
//echo '  <META NAME="Reply-to" CONTENT="' . HEAD_REPLY_TAG_ALL . '">' . "\n";

echo '<!-- EOF: Generated Meta Tags -->' . "\n";
?>

just replace these fields with your own info (be careful you don't accidentally delete a ' or " .....

YOUR_BUSINESS

YOUR_DESIGNER

SHORT_DESC_OF_YOUR_OVERALL_SITE

YOUR NAME

 

i believe i have also found a fix for people using blueyon's friendly search engine url mod too, i will test it more and post my fix once i've concluded it to be error free.

Link to comment
Share on other sites

This the code I have for fill_tags.php

 

 

?Did I copy something wrong?

 

Regards,

Andres

I didn't mean it was an exact copy. The one file is a stand-alone script while the other is part of a package. The core of the code is the same though. It reads in the database, gets the category or product name, fills in the tags and writes to the database.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

okay i think i may know why i'm having problems. i have blueyon's SEO friendly URL's mod too; which combines index.php and products_info.php

 

would somebody be willing to look at my source files via ftp to see if there's a way i can get this to work 100%?

There are six SEF contributions. One of them is not compatible with Header Tags. I don't know which it is but my guess is that it is the one you are using.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

i think i have come across something that may be useful to many of you, i have tested it, and it works seamlessly.

this minor fix adds the full meta tags, that many smaller and older search engines need to index your site better. (do a google search if you want to know more about it, it's a bit too much to type why using these full meta tags will do nothing but help your site be indexed by more search engines)

 

in includes/header_tags.php, look for the: echo ' <title>' . $tags_array['title'] . '</title>' . "\n";

line and replace everything starting from that line, to ?>

with:

I wouldn't recommend doing that. They won't help you with the main SE's and that is really all that matters, IMO.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

a store i've worked on (that isn't oscommerce-based) uses those tags, and it has PR5 (it's been climbing steadily over the past few months), so it definately does not hurt.

 

what i've read recently is that for the main search engines like google, they pay far more attention to the overall content and keywords (in the page) than they do anything to do with the meta tags

Link to comment
Share on other sites

I didn't mean it was an exact copy. The one file is a stand-alone script while the other is part of a package. The core of the code is the same though. It reads in the database, gets the category or product name, fills in the tags and writes to the database.

 

Jack

 

I understand what you mean Jack, but you are saying "gets the category or product name" ?what about product description?

 

Regards,

Andres

Link to comment
Share on other sites

I understand what you mean Jack, but you are saying "gets the category or product name" ?what about product description?

 

Regards,

Andres

I don't understand what you are asking.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I don't understand what you are asking.

 

Jack

 

What I need is to get a "short description" from product_description, to show it when using a search, benneath each title.

 

This works fine with Header Tags Controller + Kurzschreibung + Fill_tags but it doesn't work when using HTC + Kurzschreibung + Header Tags Fill Tags from Admin, as far as I understand because HTFT only "gets the category or product name", does nothing with product_description.

 

?How could I ask HTFT to get product_description too?

 

Regards,

Andres

Link to comment
Share on other sites

I have a few problems with Header Tags Controller, because I have installed SPAW Wysiwyg editor.

When I add or edit a product, the fields TITLE TAG, META DESCRIPTION, and META KEYWORDS, has the Wysiwyg editor, and I don't like that. How to remove these field out the Wysiwyg editor?

Because I am a newbye I don't know how to do that.

 

Thank you for your help, and sorry for my BAD english :'( .

PicsOne

Link to comment
Share on other sites

Hi,

 

I am moving my site (badgezone.com) to a new server and before I finish off I wanted to get Header Tags Controller installed after several failed attempts before.

 

I have managed to get it setup on the new server using a temporary domain, but there are just a few cosmetic changes I would like to make.

 

At the moment with HTCA enabled the title tag on my categories look like:

 

"Music Badges BadgeZone.com"

 

Where "Music Badges" is the category name and "BadgeZone.com" is the title for "index".

 

Really I would like it to be "BadgeZone.com - Music Badges" or similar but I cannot see an easy way to do this.

 

It's the same for product info too, "AFI Badge BadgeZone.com"

 

Where "AFI Badge" is the product name and "BadgeZone.com" is the default title for all products (not specified for "products_info")

 

Ideally I would like this to be like: "BadgeZone.com - AFI Badge" or similar.

 

The test site can be seen at http://badge.poomdog.com

 

Any tips would be appreciated.

 

Thanks,

 

Jason Fenlon

Link to comment
Share on other sites

Find this code in includes/header_tags.php

        $tags_array['title']= $the_category['categories_htc_title_tag'] . ' ' . HEAD_TITLE_TAG_DEFAULT;

and change to

        $tags_array['title']= $the_category['categories_htc_title_tag'] . ' -  ' . HEAD_TITLE_TAG_DEFAULT;

I think that will do it.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Has anyone gotten the following error while trying to update the Text Control page?

 

Warning: chmod(): Operation not permitted in /home/powerhou/public_html/osCommerce/catalog/admin/includes/functions/header_tags.php on line 194

Cannot change the mode of file (../includes/languages/english/header_tags.php)

I'm also getting this error. I've read the notes and changed the permissions on both files to 777 and it still won't write to the files. I've gone over my entire install and all is correct. I even d/l the fix for this in the contributions and it made no difference for me.

 

Has anyone else run into this and solved it?

Link to comment
Share on other sites

ok lets see if I can explaine my problem. Everything is installed and working correctly, except for the product pages. If you go to a category in the top browser it will say personal protection or candles. but when you click on the item the browser says sumfun's wholesale products instead of what the item is. and in view source its shows title sumfun's wholesale products instead of the product as title and its keyword and description information.

 

 

 

I have attached the screenshots to show what I mean as well. Any help is greatly appreciated. I tried auto fill etc even added new items still with the same problem.

 

1.JPG

 

personal protection picture above its a category

 

2.JPG

 

1/2 ounce pepper spray notice no info even in view source there is no meta info.

 

 

3.JPG

 

this is the title keywords and description I have added in admin to show its there.

 

 

Does anyone have any idea as what I need to do as all is working just not that.

 

 

 

Thanks

Sumfun

Link to comment
Share on other sites

Find this code in includes/header_tags.php
        $tags_array['title']= $the_category['categories_htc_title_tag'] . ' ' . HEAD_TITLE_TAG_DEFAULT;

and change to

        $tags_array['title']= $the_category['categories_htc_title_tag'] . ' -  ' . HEAD_TITLE_TAG_DEFAULT;

I think that will do it.

 

Jack

 

Thanks, after I swapped the 2 tags round that was just what I was looking for :thumbsup:

 

Great script

Link to comment
Share on other sites

I'm also getting this error.  I've read the notes and changed the permissions on both files to 777 and it still won't write to the files.  I've gone over my entire install and all is correct.  I even d/l the fix for this in the contributions and it made no difference for me.

 

Has anyone else run into this and solved it?

It's not in the code. Your host is preventing it. If they won't allow it, then you will need to edit the files manually.

 

Jack

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

ok lets see if I can explaine my problem. Everything is installed and working correctly, except for the product pages. If you go to a category in the top browser it will say personal protection or candles. but when you click on the item the browser says sumfun's wholesale products instead of what the item is. and in view source its shows title sumfun's wholesale products instead of the product as title and its keyword and description information.

 

 

 

I have attached the screenshots to show what I mean as well. Any help is greatly appreciated. I tried auto fill etc even added new items still with the same problem.

 

 

 

personal protection picture above its a category

 

 

 

1/2 ounce pepper spray notice no info even in view source there is no meta info.

 

 

 

 

this is the title keywords and description I have added in admin to show its there.

 

 

Does anyone have any idea as what I need to do as all is working just not that.

 

 

 

Thanks

Sumfun

 

Has anyone been able to figures this out? here is the url so you can look if you need to see whats going on.

 

 

 

Thanks

Sumfun

My Webpage

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...