Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Header Tags Controller


Recommended Posts

Hello,

 

I'm not able to run Header Tags Controller with some languages. The pack includes some file in spanish, but is not posible to create tags in other languages than english. I open the admin section in other language (for example: spanish), see the "Header Tags" box, but all changes apply only to english language.

 

For example: in admin/includes/boxes/header_tags_controller.php appears the variable: FILENAME_HEADER_TAGS_ENGLISH, then how can I use that contribution to generate tags in the other 4 languages I have?

 

Thanks in advance.

Link to comment
Share on other sites

Give this a try. In admin/header_tags_english.php find

$filename = '../includes/languages/english/header_tags.php';

and change it to

$filename = '../' . DIR_WS_LANGUAGES . $language . '/header_tags.php';

and in admin/header_tags_controller.php, find

 $filenameEng = '../includes/languages/english/header_tags.php';

and change to

$filenameEng = '../' . DIR_WS_LANGUAGES . $language . '/header_tags.php';

Please let me know if it works.

 

Jack

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

Give this a try. In admin/header_tags_english.php find
$filename = '../includes/languages/english/header_tags.php';

and change it to

$filename = '../' . DIR_WS_LANGUAGES . $language . '/header_tags.php';

and in admin/header_tags_controller.php, find

 $filenameEng = '../includes/languages/english/header_tags.php';

and change to

$filenameEng = '../' . DIR_WS_LANGUAGES . $language . '/header_tags.php';

Please let me know if it works.

 

Jack

 

Hello,

 

It seems ok... thanks.

 

But this contribution also have a function: modifies admin/categories.php to add meta, but... only in 1 language!!. Do you know how to solve this for more languages? --> otherwise I'll delete the admin/categories.php changes.

 

The are a little manual to change the meta of all products?. The contribution fills for each product with the whole description... and I've a lot of text.

 

Thanks a lot.

Link to comment
Share on other sites

I don't understand the problem you are having now. The changes to the categories file just adds code to the existing file. If the items there are not displaying in the correct language, then there is something else wrong. When you click on a product (in admin) and select edit, does any text show up in the proper language?

 

Jack

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 don't understand the problem you are having now.  The changes to the categories file just adds code to the existing file. If the items there are not displaying in the correct language, then there is something else wrong. When you click on a product (in admin) and select edit, does any text show up in the proper language?

 

Jack

 

Hello,

 

In Admin, when you edit a categorie, you can change the image and the name for each language. After install the Tag Controller contribution, it appears 3 more options: Title, description and keywords of the categorie, but only in 1 language :-(. Then, when you fill this and browse the categorie, you see always the same text, independently of the language. It affects to Title browser, to the title you see opening the categorie (in the place of "Let's see what we have here"), and the tags. If you leave in blank, it appears in blank on the page.

 

I don't know if I've not modified the admin/categories.php correctly or what is the problem.

 

Can you help me?.

 

Thank you.

Link to comment
Share on other sites

Ahh, I see the problem. I will fix that but it is not a quick fix so it may be a week or so before I am able to get to it.

 

Jack

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

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