Hi!
I found this problem on managment of path or language.
Here is an example:
- When you edit the tags of a page like this:
site/language/path_of_page
The link to "Edit Meta Tags" goes to :
site/language/path#overlay=language/admin/config/search/metatags_quick/path/path_of_page
If you save the meta tags then are assigned to:
path_of_page
and not to:
language/path_of_page
If you change the link to edit Meta tags to:
site/language/path#overlay=language/admin/config/search/metatags_quick/path/language/path_of_page
then the meta tags are assigned properly., and when you edit meta tags with this links:
site/path_of_page#overlay=language/admin/config/search/metatags_quick/path/path_of_page
and
site/language/path_of_page#overlay=language/admin/config/search/metatags_quick/path/language/path_of_page
you have the two language versions of the page.
When the language is missing it means that is the default language of the site (not prefix added).
But if you look the page outside of Drupal Admin, only the Meta Tags of:
site/path_of_page
are show in the both cases: site/language/path_of_page and site/path_of_page
Looking at the database (metatags_quick_path_based table), i find this rows:
'path_of_page', 'language', 46, 'keywords'
'path_of_page', 'language', 47, ''
'path_of_page', 'language', 48, 'description'
'language', 'language', 46, 'keywords'
'language', 'language', 47, ''
'language', 'language', 48, 'description'
The first three rows belows to path_of_page
and the last three rows to language/path_of_page
Here are two errors:
1.-The language is not assigned properly:
In the case of "path_of_page" the path is correct, but not the language. Meta Tags Quick always stores the same language.
2.- The path is not correct:
In the case of "language/path_of_page" the path must be path_of_page and not language.
It seems that Meta Tags Quick get the path of the query when you are editing in Admin and cuts when finds the first "/".
I think than the correct rows in the database must be like this:
'path_of_page', 'default_language', 46, 'keywords'
'path_of_page', 'default_language', 47, ''
'path_of_page', 'default_language', 48, 'description'
'path_of_page', 'another_language_of_your_site', 46, 'keywords'
'path_of_page', 'another_language_of_your_site', 47, ''
'path_of_page', 'another_language_of_your_site', 48, 'description'
And then Meta Tags have to:
- First detect the language of the site.
- And then check the path....
I think that the problem is the search of the language....
Regards,
JOINSO.
Comments
Comment #1
joinso commentedHI!
You can close it (http://drupal.org/node/1191322)
Regards!