Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

meta tag controller


Guest

Recommended Posts

I just installed L.McGraths

Meta tag Contoller....

 

1.) I am useing index.php to redirect to catalogdefault.php

will this have an adverse effect?

 

2.) Is there a way to test the contoller to see if it is working properly?

I had no errors on install and everything seems to well.

Link to comment
Share on other sites

almost there...

but:

 

i am not sure about this at all....

 

// In phpMyAdmin use: UPDATE products_description set PRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME

 

I am a db dummy

Link to comment
Share on other sites

That is just an example of a quick way to get the products_name into the products_head_title_tag field when sitting in the products_description table via your phpMyAdmin.

 

It's faster than typing them all in :D

Link to comment
Share on other sites

Open phpMyAdmin ...

Open the products_description table

 

Type in:

 

UPDATE products_description set products_head_title_tag = products_name

 

Click GO

 

All products_head_title_tag now contain the products_name

Link to comment
Share on other sites

guess that was kind of obvious, eh?

 

I always wanna complicate matters.

 

Still havent quit got the header_tag.php files figued out...

 

I'll play with them later....I got a php sized headache

Link to comment
Share on other sites

the more i look at it the more lost i am....

 

all I wanna do is build some key words....

 

specials is the only one that comes close and i have no idea what the hell is going on...

 

if i install that admin thing can i doi it from there?

Link to comment
Share on other sites

The Admin Add-On that Richard wrote is a great help.

 

I have not had time to update the two and make them one add-on. But, you can edit the settings on the individual products with the Admin Add-on.

 

The other settings where things are defined by page, you just need to decide whether to use the way it is setup, or if you want something special done for the page, etc.

 

It let's you customize what is already there or add on specifics for particular pages you want to have specific meta tags on.

Link to comment
Share on other sites

Totally confused.....

 

I want to build keywords and desciptions for product info

 

from the examples and playing around I can not get it to even come close.

 

I am php challanged...(as in retarded) .....

 

Please help?

Link to comment
Share on other sites

If HTKA_PRODUCT_INFO_ON is set to 1 this will combine the HEAD_KEY_TAG_ALL with the products_head_keywords_tag for a product. If set to 0 then just the products_head_keywords_tag will show.

 

Be sure that you have products_head_keywords_tag filled in on the products or you will get nothing or just the HEAD_KEY_TAG_ALL depending on your setting.

Link to comment
Share on other sites

I'm sorry..I just don't get it....

 

The only only that comes close to doing what I want is the only thing I dont really care about ...specials....

 

 

this has no effect either 1 or 0

If HTKA_PRODUCT_INFO_ON is set to 1 this will combine the HEAD_KEY_TAG_ALL with the products_head_keywords_tag for a product. If set to 0 then just the products_head_keywords_tag will show.  

...and I have no idea what you mean here

Be sure that you have products_head_keywords_tag filled in on the products or you will get nothing or just the HEAD_KEY_TAG_ALL depending on your setting.

_________________

Link to comment
Share on other sites

  • 4 weeks later...

Hi Linda

 

I just installed your meta contribution. Seems to work fine in changing titles in categories etc. but now I get the following error when click on ANY product?

 

1054 - Unknown column 'pd.products_head_title_tag' in 'field list'

 

select pd.language_id, p.products_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_keywords_tag, pd.products_head_desc_tag, 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 products p, products_description pd where p.products_id = '83' and pd.products_id = '83' and pd.language_id ='1'

 

[TEP STOP]

 

 

Also, can't seem to get ...

 

UPDATE products_description set PRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME

 

... to work in phpmyadmin?

 

 

I just keep getting:-

 

Error

 

SQL-query :

 

UPDATE products_description setPRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME

 

MySQL said:

Unknown column 'PRODUCTS_HEAD_TITLE_TAG' in 'field list'

 

Probably something really easy to fix if I wasnt such a php amateur

Any suggestions?

 

Thanks

David

Link to comment
Share on other sites

I finally got it to work.... And work it does......

 

It was around 6:15am that it came to me, I found and extra {

 

in the code ... ha ha, must have been the early morning sun in eyes

 

Thanks

Link to comment
Share on other sites

  • 1 year later...

I think I got this mod setup, but when I add a product and fill in the meta info, it does not show up in a meta analyzer. If I modify the header_tag.php that will show up. What is wrong that is causing my product description meta to now show up?

 

DO I have to set some 1's to 0's or something that I am missing?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...