Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Header Tags Controller for Admin MS 2.2


Farrukh
 Share

Recommended Posts

  • Replies 4.6k
  • Created
  • Last Reply

Top Posters In This Topic

There's not much to go on but I will try. When you say you added a category title, do you mean you went to admin->catalog, clicked on a category and then added a title in the Header Tags field? What do you mean by seeing the default title of the shop? Do you see that on the page when you click on the category or in the title at the very top of the screen? A link would help if possible.

 

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

Yes it's that : I added a title in admin-> catalog on a category.

But when I go to this category page on my shop, I can see the defaut title in the the internet bar at the top of the screen(for IE : the blue bar).

 

The default title is :

define('HEAD_TITLE_TAG_DEFAULT', 'Bienvenue sur ma boutique);

Link to comment
Share on other sites

Ahh, that is two different things. The title you added in admin is the title that is displayed on the actual page when you click on a category. To change the title in the browser bar, you need to edit

define('HEAD_TITLE_TAG_DEFAULT', 'Bienvenue sur ma boutique);

 

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

When you click on a category, the page title (in the browser) and the page heading should both be whatever you set it to in admin->category. The title in the browser is taken from the title tag in the head section of your page. The title for the page is displayed by code father down the page. So if you are saying one is changing and one is not, then you have made a mistake editing the index.php file. Go back over the instructions, or post it here if you can't figure it out.

 

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 just added an updatehere.

 

It doesn't require any code changes. The main change was the change to the Fill Tags file to include automatic setting of the category tags. Here's what I changed:

 

- changed the code for Filll Tags to include auto update of the category tags.

 

- Added instruction file for Fill Tags.

 

- Fixed typing mistake in includes/functions.php.

 

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

Hi there, I installed version 2.3.7 some while ago (when it was the most recent version) and then got occupied with other things. I noticed today that it is not adding the product descriptions as the meta description on product pages.

 

I'm sure it's something I missed, but I don't know where to start looking. Everything else works great!

Quidquid latine dictum sit, profundum viditur.

Link to comment
Share on other sites

Jeff - I'm glad it fixed it. No idea why it did though.

 

Cleve - Go to admin and open a product for editing. Does the Haader Tags box have an entry.If not, you need to fill it in. Download the version between 2.4.2 and 2.43 and use the Fill Tags file to do a fast populate of all the products. Don't use the one in this latest version since it won't work on your version.

 

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

Jack, it does have a text area. I guess the error was in my understanding that it automatically populated the meta description tag with the product description.

 

Since this is not the case, is there a simple way to make it so?

 

_____sorry, forgot the fix you mentioned previously---------- will it do this automatically in the future?

Edited by akmac

Quidquid latine dictum sit, profundum viditur.

Link to comment
Share on other sites

No, it won't do it all. You either have to manually enter them or use the Fill Tags script. The latter is much easier but be sure you use the earlier version like I said. The later version my work but it will fail when it gets to the category section so youmight as well just use the correct one.

 

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 just installed the newest version of HTC in my store today. The catalog side seems to work perfectly, but I am getting errors on the Edit product pages that look like this beginning at the product description:

 

<b>1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '/ = '49' and language_id = '1'' at line 1

 

select products_description from products_description where products_id // = '49' and language_id = '1'

 

[TEP STOP]

</b>

Link to comment
Share on other sites

So I made the changes to admin/includes/functions/general.php again and now everything is working fine.

 

I just installed the newest version of HTC in my store today. The catalog side seems to work perfectly, but I am getting errors on the Edit product pages that look like this beginning at the product description:

 

<b>1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '/ = '49' and language_id = '1'' at line 1

 

select products_description from products_description where products_id // = '49' and language_id = '1'

 

[TEP STOP]

</b>

Link to comment
Share on other sites

category language mixup on page page titile

 

Category shows up in the wrong language

 

I just installed the contribution V2.4.3 It seems to work great. The only problem I have is that the language for the category keeps on changing in the page title bar. Some times the category language will appear in English when the page is set to Spanish and Spanish when it is set to English or French. It seems random. This mix-up is only happening on the page title. The title works fine when I get to a product page. It only happens when I am listing the contents of a category. Can any one pls advice me

 

Thanks

Amaechi

Link to comment
Share on other sites

Have you added the code to the Spanish directory? It is not part of the default install so you will need to convert it yourself.

 

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

Have you added the code to the Spanish directory?  It is not part of the default install so you will need to convert it yourself.

 

Jack

 

do you mean header_tags.php Yes I have added them to the respective directories.

 

what section deals with the display of the category name in the page title and how does it chose which language to use. I mean the section that deals with creating the title of the categores page.

 

Thanks

Amaechi

Link to comment
Share on other sites

Near the top of the includes/header_tags.php file, you will see this code

require(DIR_WS_LANGUAGES . $language . '/' . 'header_tags.php');

That is what decides which language to use. You may want to check in admin->localization->languages and make sure you have the languages declared.

 

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 found the problem. I went in to the edit categories in admin and was able to change the information that fill_tags.php had put there.

 

If I run fill_tag.php again will it ruin any thing or will it just update changes. Changes that has been made since the last time.?

 

Amaechi

Link to comment
Share on other sites

It doesn't do any checking. It just reads in the existing names and copies them. It is suppose to do it in the proper language though.

 

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

Hello all,

 

Im using Advanced Categories Admin (ACA) and i have successfully installed this great contribution for the products descriptions and tags. But I have some problem with the category description because the categories.php is changed by ACA.

 

Anyone have installation procedure for ACA and Header tags controller for the category description ?

 

Thank you.

Link to comment
Share on other sites

I'm getting a error in my catalog:

 

Fatal error: Cannot redeclare tep_get_header_tag_products_title() (previously declared in /home/mikewolf/public_html/janwolfdesigns/includes/functions/header_tags.php:8) in /home/mikewolf/public_html/janwolfdesigns/includes/functions/header_tags.php on line 8

 

I read through some of the previous post with this problem, but I can still not figure it out. My files are in the correct folders. :(

Edited by mwgsr
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.

 Share

×
×
  • Create New...